fix: add knownUsers and uid so nix-darwin sets fish as login shell

This commit is contained in:
2026-04-11 01:21:37 +08:00
parent 5a3013810c
commit cdc2bd0646
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -8,9 +8,11 @@
programs.fish.enable = true;
# ── User ───────────────────────────────────────────
users.knownUsers = [ username ];
users.users.${username} = {
home = "/Users/${username}";
shell = pkgs.fish;
uid = 501;
};
# ── Fonts ──────────────────────────────────────────