Compare commits

...

3 commits

4 changed files with 29 additions and 7 deletions

View file

@ -48,9 +48,6 @@
use-xdg-base-directories = true;
};
# Garbage collection.
gc.automatic = true;
};
# More useful repl.

26
modules/home/profiles.nix Normal file
View file

@ -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 {});
}

View file

@ -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;