flake.lock: update
This commit is contained in:
parent
008a38e397
commit
16e8f3f0f4
4 changed files with 76 additions and 79 deletions
|
@ -1,5 +1,5 @@
|
|||
# Copy of modules/system/unfree.nix
|
||||
{ config, lib, ... }:
|
||||
args@{ config, lib, ... }:
|
||||
{
|
||||
_file = ./unfree.nix;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf (!args ? osConfig) {
|
||||
nixpkgs.config.allowUnfreePredicate = lib.mkForce (
|
||||
pkg: builtins.elem (lib.getName pkg) config.settei.unfree.allowedPackages
|
||||
);
|
||||
|
|
|
@ -52,7 +52,6 @@ let
|
|||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
"repl-flake"
|
||||
"auto-allocate-uids"
|
||||
];
|
||||
trusted-users = lib.optionals (!adminNeedsPassword) [ username ];
|
||||
|
@ -117,9 +116,8 @@ let
|
|||
|
||||
darwinConfig = lib.optionalAttrs (!isLinux) {
|
||||
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}";
|
||||
# Every macOS ARM machine can emulate x86.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue