add nix settings and dir colors for MacOS
This commit is contained in:
12
system/macos/nix.nix
Normal file
12
system/macos/nix.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
# Enable the Nix package manager
|
||||
nix = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
# Configure trusted users who can perform privileged Nix operations
|
||||
trusted-users = lib.mkForce [ "@admin" "${config.system.primaryUser}" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user