nixos/common/default.nix

35 lines
653 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-26 14:14:20 +00:00
programs.zsh.enable = true;
2024-09-26 09:44:39 +00:00
security.sudo.wheelNeedsPassword = false;
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
}