Compare commits
1 commit
ac51509e25
...
16e8f3f0f4
Author | SHA1 | Date | |
---|---|---|---|
16e8f3f0f4 |
3 changed files with 8 additions and 7 deletions
7
flake.lock
generated
7
flake.lock
generated
|
@ -115,15 +115,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742373336,
|
"lastModified": 1742382197,
|
||||||
"narHash": "sha256-oEF5dBlq8wGD3mkJ5PmFS1PGb28uYmvuy1IH6roIGkQ=",
|
"narHash": "sha256-5OtFbbdKAkWDVuzjs1J9KwdFuDxsEvz0FZX3xR2jEUM=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "2d9b63316926aa130a5a51136d93b9be28808f26",
|
"rev": "643b57fd32135769f809913663130a95fe6db49e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
|
"ref": "refs/pull/1335/merge",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,9 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
darwin = {
|
darwin = {
|
||||||
url = "github:lnl7/nix-darwin";
|
# TODO: Move back once https://github.com/LnL7/nix-darwin/issues/1392 is resolved
|
||||||
|
# url = "github:lnl7/nix-darwin";
|
||||||
|
url = "github:lnl7/nix-darwin?ref=refs/pull/1335/merge";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
agenix = {
|
agenix = {
|
||||||
|
|
|
@ -52,7 +52,6 @@ let
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
"repl-flake"
|
|
||||||
"auto-allocate-uids"
|
"auto-allocate-uids"
|
||||||
];
|
];
|
||||||
trusted-users = lib.optionals (!adminNeedsPassword) [ username ];
|
trusted-users = lib.optionals (!adminNeedsPassword) [ username ];
|
||||||
|
@ -117,9 +116,8 @@ let
|
||||||
|
|
||||||
darwinConfig = lib.optionalAttrs (!isLinux) {
|
darwinConfig = lib.optionalAttrs (!isLinux) {
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
services.nix-daemon.enable = true;
|
|
||||||
|
|
||||||
security.pam.enableSudoTouchIdAuth = true;
|
security.pam.services.sudo_local.touchIdAuth = true;
|
||||||
|
|
||||||
users.users.${username}.home = "/Users/${username}";
|
users.users.${username}.home = "/Users/${username}";
|
||||||
# Every macOS ARM machine can emulate x86.
|
# Every macOS ARM machine can emulate x86.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue