s0mePC-nix -> ada: rename

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-02-08 22:04:57 +03:00
parent b877c80e25
commit aae7900229
86 changed files with 696 additions and 262 deletions

View file

@ -0,0 +1,15 @@
{...}: {
security = {
pam = {
yubico = {
enable = false;
debug = true;
mode = "challenge-response";
control = "sufficient";
id = [
"1873055870"
];
};
};
};
}

10
ada/security/polkit.nix Normal file
View file

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

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

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

9
ada/security/sudo-rs.nix Normal file
View file

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

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

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