added back stable branch, broken though because cerulean no support channel overrides
This commit is contained in:
parent
8b8c9cf585
commit
d63d04d301
10 changed files with 87 additions and 69 deletions
6
groups/all/default.nix
Normal file
6
groups/all/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
nix.settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
download-buffer-size = 524288000;
|
||||
};
|
||||
}
|
||||
17
groups/servers/default.nix
Normal file
17
groups/servers/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ ... }: {
|
||||
nix.settings = {
|
||||
trusted-users = ["root" "@wheel"];
|
||||
};
|
||||
|
||||
security = {
|
||||
sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
};
|
||||
|
||||
pam = {
|
||||
sshAgentAuth.enable = true;
|
||||
services.sudo.sshAgentAuth = true; # pam_ssh_agent_auth module
|
||||
};
|
||||
};
|
||||
}
|
||||
5
groups/unstable-base/default.nix
Normal file
5
groups/unstable-base/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{lib, config, ...}: {
|
||||
nixpkgs.channels.default = {
|
||||
default = lib.mkForce config.nixpkgs-unstable.channels.default.pkgs;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue