wanda: new host (NixOS-WSL)

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-02-08 22:23:05 +03:00
parent d3588098ee
commit e3e1612691
66 changed files with 914 additions and 0 deletions

View 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
View file

@ -0,0 +1,10 @@
_: {
security = {
polkit = {
enable = true;
adminIdentities = [
"unix-group:wheel"
];
};
};
}

7
wanda/security/rtkit.nix Normal file
View file

@ -0,0 +1,7 @@
_: {
security = {
rtkit = {
enable = true;
};
};
}

View file

@ -0,0 +1,9 @@
_: {
security = {
sudo-rs = {
enable = true;
wheelNeedsPassword = true;
execWheelOnly = true;
};
};
}

7
wanda/security/sudo.nix Normal file
View file

@ -0,0 +1,7 @@
{lib, ...}: {
security = {
sudo = {
enable = lib.mkDefault false;
};
};
}