s0mePC-nix -> ada: rename
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
b877c80e25
commit
aae7900229
86 changed files with 696 additions and 262 deletions
15
ada/security/pam/yubico.nix
Normal file
15
ada/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
ada/security/polkit.nix
Normal file
10
ada/security/polkit.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{...}: {
|
||||
security = {
|
||||
polkit = {
|
||||
enable = true;
|
||||
adminIdentities = [
|
||||
"unix-group:wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
7
ada/security/rtkit.nix
Normal file
7
ada/security/rtkit.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{...}: {
|
||||
security = {
|
||||
rtkit = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
9
ada/security/sudo-rs.nix
Normal file
9
ada/security/sudo-rs.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{...}: {
|
||||
security = {
|
||||
sudo-rs = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
execWheelOnly = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
7
ada/security/sudo.nix
Normal file
7
ada/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