project-wide: Fixing refactor issues

This commit is contained in:
kat witch 2021-03-28 21:12:37 +01:00
parent f92e21126e
commit d8dcfada4f
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
9 changed files with 41 additions and 64 deletions

View file

@ -9,6 +9,17 @@
./private/profile/nixos
];
options = {
deploy.profile.kat = lib.mkEnableOption "uhh meow" // { default = true; };
deploy.profile.gui = lib.mkEnableOption "graphical system" // {
default = true;
};
deploy.profile.sway = lib.mkEnableOption "sway wm" // { default = true; };
deploy.profile.laptop = lib.mkEnableOption "lappytop" // {
default = true;
};
};
options.home-manager.users = lib.mkOption {
type = lib.types.attrsOf (lib.types.submoduleWith {
modules = [ ];
@ -22,12 +33,28 @@
config = {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
users = {
kat = {
imports = [ ./home.nix (import (./hosts + "/${hostName}/home")) ];
options = {
deploy.profile.kat = lib.mkEnableOption "uhh meow" // {
default = true;
};
deploy.profile.gui = lib.mkEnableOption "graphical system" // {
default = true;
};
deploy.profile.sway = lib.mkEnableOption "sway wm" // {
default = true;
};
deploy.profile.laptop = lib.mkEnableOption "lappytop" // {
default = true;
};
};
};
};
};