more adjustments

This commit is contained in:
Noah Masur
2025-02-15 20:26:14 -05:00
parent 2425c76a84
commit 617fc6cce2
36 changed files with 288 additions and 291 deletions

View File

@ -5,6 +5,7 @@
}:
let
inherit (config.nmasur.settings) username;
cfg = config.nmasur.presets.services.user;
in
@ -13,14 +14,14 @@ in
options.nmasur.presets.services.user.enable = lib.mkEnableOption "macoS user settings";
config = lib.mkIf cfg.enable {
users.users."${config.user}" = {
users.users."${username}" = {
# macOS user
home = config.home-manager.users.${config.user}.home.homeDirectory;
home = config.home-manager.users.${username}.home.homeDirectory;
uid = 502;
# shell = pkgs.fish; # Default shell
};
# This might fix the shell issues
users.knownUsers = [ config.user ];
users.knownUsers = [ username ];
};
}