flake.lock: update
All checks were successful
/ check (pull_request) Successful in 4m16s
/ check (push) Successful in 47s

This commit is contained in:
Nikodem Rabuliński 2025-03-20 22:53:47 +01:00
parent 008a38e397
commit 16e8f3f0f4
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
4 changed files with 76 additions and 79 deletions

View file

@ -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
);

View file

@ -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.