diff --git a/modules/home/profiles.nix b/modules/home/profiles.nix new file mode 100644 index 0000000..52142e6 --- /dev/null +++ b/modules/home/profiles.nix @@ -0,0 +1,26 @@ +{ + config, + marleylib, + lib, + ... +}: let + cfg = config.marleycfg.profiles; + + inherit (marleylib.module) enabled; +in { + marleyos = + # Universal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + { + programs = { + nh = enabled; + }; + } + # + # + # Graphical Desktop - - - - - - - - - - - - - - - - - - - - - - - - - - - - + // (lib.optionalAttrs cfg.desktop {}) + # + # + # Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + // (lib.optionalAttrs cfg.server {}); +} diff --git a/modules/nixos/profiles.nix b/modules/nixos/profiles.nix index 2ae865e..a8ea8bf 100644 --- a/modules/nixos/profiles.nix +++ b/modules/nixos/profiles.nix @@ -8,9 +8,8 @@ inherit (marleylib.module) enabled; in { - # - ### Universal ### marleyos = + # Universal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { programs = { fish = enabled; @@ -24,7 +23,7 @@ in { } # # - ### Graphical Desktop Profile ### + # Graphical Desktop - - - - - - - - - - - - - - - - - - - - - - - - - - - - // (lib.optionalAttrs cfg.desktop { mounts.babeshare = enabled; @@ -40,7 +39,7 @@ in { }) # # - ### Server Profile ### + # Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // (lib.optionalAttrs cfg.server { services = { prometheus = enabled;