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

@@ -1,29 +1,5 @@
{ config, pkgs, ... }:
{
security = {
sudo.enable = false;
doas = {
enable = true;
extraRules = [
{
groups = [ "wheel" ];
keepEnv = true;
persist = true;
}
];
};
};
environment.systemPackages = with pkgs; [
git
htop
vim
tmux
wireguard-tools
nmap
gcc
];
nix = {
extraOptions = ''
experimental-features = nix-command flakes