mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
project-wide: Fixing refactor issues
This commit is contained in:
parent
f92e21126e
commit
d8dcfada4f
9 changed files with 41 additions and 64 deletions
27
nixos.nix
27
nixos.nix
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue