feat: add uni profile

This commit is contained in:
Leon Schwarzäugl 2025-08-10 11:33:14 +02:00
parent ae2126f363
commit e6c7351094
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 181 additions and 74 deletions

View file

@ -43,6 +43,7 @@
optional = {
gaming = lib.mkDefault true;
uni = lib.mkDefault true;
};
};
};

View file

@ -0,0 +1,12 @@
{ lib, config, ... }:
{
options.swarselprofiles.uni = lib.mkEnableOption "is this a uni host";
config = lib.mkIf config.swarselprofiles.uni {
swarselmodules = {
optional = {
uni = lib.mkDefault true;
};
};
};
}

View file

@ -0,0 +1,18 @@
{ lib, config, ... }:
{
options.swarselprofiles.uni = lib.mkEnableOption "is this a uni host";
config = lib.mkIf config.swarselprofiles.uni {
# swarselmodules = {
# optional = {
# uni = lib.mkDefault true;
# };
# };
home-manager.users."${config.swarselsystems.mainUser}" = {
swarselprofiles = {
uni = lib.mkDefault true;
};
};
};
}