Compare commits
3 commits
a27b3ffdd5
...
0d098f3823
Author | SHA1 | Date | |
---|---|---|---|
0d098f3823 | |||
fb8ad18439 | |||
c4d46e7987 |
4 changed files with 29 additions and 7 deletions
|
@ -48,9 +48,6 @@
|
|||
|
||||
use-xdg-base-directories = true;
|
||||
};
|
||||
|
||||
# Garbage collection.
|
||||
gc.automatic = true;
|
||||
};
|
||||
|
||||
# More useful repl.
|
||||
|
|
26
modules/home/profiles.nix
Normal file
26
modules/home/profiles.nix
Normal 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 {});
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue