wanda: new host (NixOS-WSL)
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
d3588098ee
commit
e3e1612691
66 changed files with 914 additions and 0 deletions
15
wanda/security/pam/yubico.nix
Normal file
15
wanda/security/pam/yubico.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
_: {
|
||||
security = {
|
||||
pam = {
|
||||
yubico = {
|
||||
enable = false;
|
||||
debug = true;
|
||||
mode = "challenge-response";
|
||||
control = "sufficient";
|
||||
id = [
|
||||
"1873055870"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
10
wanda/security/polkit.nix
Normal file
10
wanda/security/polkit.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
security = {
|
||||
polkit = {
|
||||
enable = true;
|
||||
adminIdentities = [
|
||||
"unix-group:wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
7
wanda/security/rtkit.nix
Normal file
7
wanda/security/rtkit.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
security = {
|
||||
rtkit = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
9
wanda/security/sudo-rs.nix
Normal file
9
wanda/security/sudo-rs.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
security = {
|
||||
sudo-rs = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
execWheelOnly = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
7
wanda/security/sudo.nix
Normal file
7
wanda/security/sudo.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{lib, ...}: {
|
||||
security = {
|
||||
sudo = {
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue