feat: home profiles ; better seperators
This commit is contained in:
parent
fb8ad18439
commit
0d098f3823
2 changed files with 29 additions and 4 deletions
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;
|
inherit (marleylib.module) enabled;
|
||||||
in {
|
in {
|
||||||
#
|
|
||||||
### Universal ###
|
|
||||||
marleyos =
|
marleyos =
|
||||||
|
# Universal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
fish = enabled;
|
fish = enabled;
|
||||||
|
@ -24,7 +23,7 @@ in {
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
### Graphical Desktop Profile ###
|
# Graphical Desktop - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// (lib.optionalAttrs cfg.desktop {
|
// (lib.optionalAttrs cfg.desktop {
|
||||||
mounts.babeshare = enabled;
|
mounts.babeshare = enabled;
|
||||||
|
|
||||||
|
@ -40,7 +39,7 @@ in {
|
||||||
})
|
})
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
### Server Profile ###
|
# Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// (lib.optionalAttrs cfg.server {
|
// (lib.optionalAttrs cfg.server {
|
||||||
services = {
|
services = {
|
||||||
prometheus = enabled;
|
prometheus = enabled;
|
||||||
|
|
Loading…
Reference in a new issue