refactor: moved darwin, home-manager, and system configurations to dendrite pattern
This commit is contained in:
parent
0ea11e0236
commit
149f4f151f
193 changed files with 3284 additions and 3095 deletions
26
modules/home-manager/programs/vortex.nix
Normal file
26
modules/home-manager/programs/vortex.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{...}: {
|
||||
flake.homeModules.home-manager-vortex = {
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.programs.vortex;
|
||||
in {
|
||||
options.programs.vortex = {
|
||||
enable = lib.mkEnableOption "Vortex (Nexus Mods manager)";
|
||||
};
|
||||
|
||||
config = {
|
||||
assertions = [
|
||||
{
|
||||
assertion = !cfg.enable;
|
||||
message = ''
|
||||
Vortex module is not yet fully configured.
|
||||
Please download and install Vortex manually from the Nexus Mods website,
|
||||
then configure the Wine environment and dependencies as needed.
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue