From f634eea3a7f988ec348480106525fb642d3bdc8c Mon Sep 17 00:00:00 2001 From: John Lancaster Date: Thu, 3 Jul 2025 21:50:32 -0500 Subject: [PATCH] rename --- flake.nix | 6 +++--- homeManagerModules/shell.nix | 2 +- nixosModules/options.nix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index b465b21..b917f06 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/homeManagerModules/shell.nix b/homeManagerModules/shell.nix index a029fb4..36cffb8 100644 --- a/homeManagerModules/shell.nix +++ b/homeManagerModules/shell.nix @@ -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; diff --git a/nixosModules/options.nix b/nixosModules/options.nix index 63dfb4b..16dd617 100644 --- a/nixosModules/options.nix +++ b/nixosModules/options.nix @@ -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";