Push these changes to a branch cause I'm kind of giving up
This commit is contained in:
parent
d9469fc321
commit
e3bacb2d84
229 changed files with 1496 additions and 1479 deletions
3
system/modules/security/apparmor/default.nix
Normal file
3
system/modules/security/apparmor/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ ... }: {
|
||||
security.apparmor.enable = true;
|
||||
}
|
8
system/modules/security/default.nix
Normal file
8
system/modules/security/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./apparmor
|
||||
./doas
|
||||
./gnome-keyring
|
||||
./polkit
|
||||
];
|
||||
}
|
15
system/modules/security/doas/default.nix
Normal file
15
system/modules/security/doas/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }: {
|
||||
security = {
|
||||
sudo.enable = false;
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{ # Give wheel root access
|
||||
groups = ["wheel"];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
3
system/modules/security/gnome-keyring/default.nix
Normal file
3
system/modules/security/gnome-keyring/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ ... }: {
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
}
|
6
system/modules/security/polkit/default.nix
Normal file
6
system/modules/security/polkit/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
security = {
|
||||
polkit.enable = true;
|
||||
rtkit.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue