feat: home profiles ; better seperators

This commit is contained in:
punkfairie 2025-05-26 11:11:39 -07:00
parent fb8ad18439
commit 0d098f3823
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 29 additions and 4 deletions

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