removed non home manager isFullUser and isThinUser for leyla
This commit is contained in:
parent
3cc4807033
commit
6eb6ac1278
5 changed files with 3 additions and 55 deletions
|
@ -4,18 +4,8 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.users.leyla;
|
||||
cfg = config.home-manager.users.leyla;
|
||||
in {
|
||||
# imports = [
|
||||
# ./packages.nix
|
||||
# ];
|
||||
|
||||
options.users.leyla = {
|
||||
isFullUser = lib.mkEnableOption "create usable leyla user";
|
||||
isThinUser = lib.mkEnableOption "create usable user but witohut user applications";
|
||||
hasGPU = lib.mkEnableOption "installs gpu intensive programs";
|
||||
};
|
||||
|
||||
config = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
@ -67,7 +57,5 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
# home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue