Restructure Configuration

This commit is contained in:
Bart van der Braak 2025-01-15 01:15:34 +01:00
parent af4429982d
commit 7fce1cec3f
73 changed files with 841 additions and 3504 deletions

View file

@ -0,0 +1,23 @@
{ pkgs, ... }:
{
# Enable Docker
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
users.extraGroups.docker.members = [ "bart" ];
# Add KVM support
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
users.extraGroups.libvirtd.members = [ "bart" ];
environment.systemPackages = with pkgs; [
qemu
docker-compose
lazydocker
docker-credential-helpers
];
}