Files
dotfiles/hosts/modules/minimal.nix
2023-06-24 16:25:48 +05:30

46 lines
717 B
Nix

{ 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
rnix-lsp
nmap
gcc
postgresql #for the client cli
];
programs = {
gnupg = {
agent = {
enable = true;
pinentryFlavor = "curses";
};
};
};
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings.trusted-users = [ "root" "spark" ];
};
}