feat(homes/rafiq): switch to fish shell

This commit is contained in:
Mohammad Rafiq 2025-07-02 17:48:27 +08:00
parent b9ad8ac2ca
commit 1f70a57e11
No known key found for this signature in database
3 changed files with 10 additions and 29 deletions

View file

@ -11,6 +11,7 @@ let
str
coercedTo
submodule
shellPackage
;
inherit (lib.pantheon) mkStrOption;
inherit (lib.snowfall.fs) get-file;
@ -43,6 +44,9 @@ in
name = mkStrOption;
publicKey = mkStrOption;
email = mkStrOption;
shell = mkOption {
type = shellPackage;
};
};
persistDirs = mkOption {
type = listOf (coercedTo str (d: { directory = d; }) rootDir);
@ -78,6 +82,7 @@ in
members = [ "${config.mainUser.name}" ];
};
users."${config.mainUser.name}" = {
inherit (config.mainUser) shell;
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.sops.secrets."${config.mainUser.name}/hashedPassword".path;