13 lines
351 B
Nix
13 lines
351 B
Nix
{ user, system }:
|
|
{ ... }: {
|
|
services.nix-daemon.enable = true;
|
|
security.pam.enableSudoTouchIdAuth = true;
|
|
users.users.${user.name}.home = user.homepath;
|
|
users.users.root.home = "/var/root";
|
|
nixpkgs.hostPlatform = system;
|
|
nix.enable = false;
|
|
determinate-nix.customSettings = {
|
|
flake-registry = "/etc/nix/flake-registry.json";
|
|
};
|
|
}
|