hosts: move doas to its own module

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-06-29 17:43:42 +05:30
parent f9ed56123d
commit e1faa10e24
5 changed files with 17 additions and 46 deletions

View File

@@ -8,17 +8,6 @@
rtkit.enable = true;
polkit.enable = true;
sudo.enable = true;
doas = {
enable = true;
extraRules = [
{
users = [ "natto" ];
keepEnv = true;
persist = true;
setEnv = [ "SSH_AUTH_SOCK" "PATH" "SHELL" ];
}
];
};
};
console.useXkbConfig = true;