rename
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
userOptions = config: {
|
||||
openssh.authorizedKeys.keyFiles = lib.optionals config.ssh [ ./personal_keys ];
|
||||
extraGroups = lib.optionals config.root [ "wheel" ];
|
||||
shell = lib.mkIf config.shell pkgs.zsh;
|
||||
shell = lib.mkIf config.enableShell pkgs.zsh;
|
||||
};
|
||||
|
||||
mkhomeManagerModules = config: [
|
||||
@@ -27,7 +27,7 @@
|
||||
user = config.user;
|
||||
stateVersion = config.stateVersion;
|
||||
profile = config.profile;
|
||||
shell = config.shell;
|
||||
shell = config.enableShell;
|
||||
ssh = config.ssh;
|
||||
_1password = config._1password;
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
extraConfig = "Defaults timestamp_timeout=1440";
|
||||
};
|
||||
|
||||
programs.zsh.enable = lib.mkIf config.shell true;
|
||||
programs.zsh.enable = lib.mkIf config.enableShell true;
|
||||
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
echo "Hello from ~/.config/home-manager/home.nix!"
|
||||
'')
|
||||
];
|
||||
programs.zsh = lib.mkIf config.shell {
|
||||
programs.zsh = lib.mkIf config.enableShell {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
description = "Whether enable all the root user stuff";
|
||||
};
|
||||
|
||||
options.shell = lib.mkOption {
|
||||
options.enableShell = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Whether to enable all the zsh stuff";
|
||||
|
||||
Reference in New Issue
Block a user