hosts: rearrange modules a bit

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-05-27 19:33:11 +05:30
parent ed71d6459c
commit 856d49ee10
19 changed files with 299 additions and 381 deletions

41
hosts/minimal.nix Normal file
View File

@@ -0,0 +1,41 @@
{ 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
];
programs = {
gnupg = {
agent = {
enable = true;
};
};
};
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
settings.trusted-users = [ "root" ];
};
}