Use fish instead of bash as default shell

This commit is contained in:
2022-02-20 23:55:51 +00:00
parent c258230d74
commit 9d2272b3df
3 changed files with 68 additions and 9 deletions

View File

@@ -32,6 +32,9 @@ in
uid = mkDefault 1000;
extraGroups = mkDefault [ "wheel" ];
password = mkDefault "hunter2"; # TODO: secrets...
shell =
let shell = cfg.homeConfig.my.shell;
in mkIf (shell != null) (mkDefault' shell);
openssh.authorizedKeys.keyFiles = [ lib.my.authorizedKeys ];
};
# In order for this option to evaluate on its own, home-manager expects the `name` (which is derived from the