diff --git a/flake.lock b/flake.lock index b4818bf..0a419d9 100644 --- a/flake.lock +++ b/flake.lock @@ -752,10 +752,10 @@ "secrets": { "flake": false, "locked": { - "lastModified": 1731013755, - "narHash": "sha256-hEtRCfUi8sO1Rq1kCqE8VeOZZzLCGrxSUBzum1QS6c0=", + "lastModified": 1731072387, + "narHash": "sha256-ehak3dejiw3O4Z7ciHFdV+VRsLY4OZm8RGExJF0DRI8=", "ref": "main", - "rev": "6b30c1b9375b248cc2ee9de50207124ece38a620", + "rev": "9cc096d1d00ff07261d7b942457458a3cc8c3099", "shallow": true, "type": "git", "url": "https://github.com/arunoruto/secrets.nix.git" diff --git a/modules/nixos/environment/default.nix b/modules/nixos/environment/default.nix index 0ad5e51..225041a 100644 --- a/modules/nixos/environment/default.nix +++ b/modules/nixos/environment/default.nix @@ -35,6 +35,9 @@ # nushell # zsh # ]; - pathsToLink = [ "/share/zsh" ]; + # pathsToLink = [ + # "/share/zsh" + # "/share/fish" + # ]; }; } diff --git a/modules/nixos/user.nix b/modules/nixos/user.nix index 4c478ea..a95f347 100644 --- a/modules/nixos/user.nix +++ b/modules/nixos/user.nix @@ -46,5 +46,12 @@ in shells = [ config.users.users.${username}.shell ]; + pathsToLink = + lib.optionals config.home-manager.users.${username}.zsh.enable [ + "/share/zsh" + ] + ++ lib.optionals config.home-manager.users.${username}.fish.enable [ + "/share/fish" + ]; }; }