nixos/common/default.nix

39 lines
718 B
Nix
Raw Normal View History

2024-09-26 09:44:39 +00:00
{ pkgs, ... }:
{
imports = [
./users.nix
2024-09-27 09:59:28 +00:00
./motd.nix
2024-09-26 09:44:39 +00:00
];
2024-09-27 03:09:31 +00:00
nix = {
package = pkgs.lix;
settings.experimental-features = [ "nix-command" "flakes" ];
};
2024-09-26 09:44:39 +00:00
environment.systemPackages = with pkgs; [
vim
wget
curl
htop
tmux
openssl
git
2024-09-26 14:03:41 +00:00
podman-tui
2024-09-26 09:44:39 +00:00
];
2024-09-27 15:28:47 +00:00
programs.mtr.enable = true;
2024-09-26 14:14:20 +00:00
programs.zsh.enable = true;
2024-09-27 15:28:47 +00:00
security.sudo-rs = {
enable = true;
wheelNeedsPassword = false;
};
2024-09-26 09:44:39 +00:00
networking.firewall.enable = false;
services.openssh.enable = true;
2024-09-26 14:03:41 +00:00
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
2024-09-26 09:44:39 +00:00
}