13 lines
273 B
Nix
13 lines
273 B
Nix
|
|
{ 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}" ];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|