nixos/common/default.nix

38 lines
718 B
Nix

{ pkgs, ... }:
{
imports = [
./users.nix
./motd.nix
];
nix = {
package = pkgs.lix;
settings.experimental-features = [ "nix-command" "flakes" ];
};
environment.systemPackages = with pkgs; [
vim
wget
curl
htop
tmux
openssl
git
podman-tui
];
programs.mtr.enable = true;
programs.zsh.enable = true;
security.sudo-rs = {
enable = true;
wheelNeedsPassword = false;
};
networking.firewall.enable = false;
services.openssh.enable = true;
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
}