Enable virt-manager and streamline shell init

This commit is contained in:
randogoth 2026-02-03 18:36:21 +02:00
parent 27ce70ebfd
commit b6e2e95371
6 changed files with 82 additions and 101 deletions

View file

@ -49,7 +49,10 @@
services.openssh.enable = true;
networking.useDHCP = lib.mkDefault true;
networking = {
useDHCP = lib.mkDefault true;
firewall.trustedInterfaces = [ "virbr0" ];
}
nixpkgs.config.allowUnfree = true;
@ -59,6 +62,7 @@
enableBashIntegration = lib.mkDefault true;
};
nix-index-database.comma.enable = lib.mkDefault true;
virt-manager.enable = true;
};
# Optimise the Nix store once a day
@ -85,6 +89,7 @@
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
libvirtd.enable = true;
};
security.sudo = {

View file

@ -20,7 +20,6 @@
packages = [
"com.github.tchx84.Flatseal"
"io.github.kolunmi.Bazaar"
# "io.missioncenter.MissionCenter"
];
};
}

View file

@ -5,6 +5,7 @@
config.environment.systemPackages = lib.mkAfter [
pkgs.distrobox
pkgs.distroshelf
pkgs.dnsmasq
pkgs.fastfetch
pkgs.flatpak
pkgs.ghostty

View file

@ -13,6 +13,7 @@
"networkmanager"
"podman"
"docker"
"libvirtd"
];
hashedPassword = "$6$HrwFoHtYRwiTZsYo$gKNOvkQhjalczOLgoTXvVu1MaihYP4BdBnVpWkdoAf.5MAiV2mMPRibYyGv9ti1Q63AhGK7n4wOPjAU0O74mK0";
subGidRanges = [