update docker and virtualisation

This commit is contained in:
dim
2024-12-30 14:41:05 +07:00
parent 2739f18c63
commit 1187d9e234
2 changed files with 2 additions and 9 deletions
+1 -9
View File
@@ -12,15 +12,7 @@ in {
uid = userId;
isNormalUser = true;
description = "${username} account";
extraGroups = [
"networkmanager"
"wheel"
"audio"
"video"
"input"
"docker"
"libvirtd"
];
extraGroups = [ "networkmanager" "wheel" "audio" "video" "input" ];
};
};
}
+1
View File
@@ -3,4 +3,5 @@
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
environment.systemPackages = with pkgs; [ virtiofsd ];
users.users."${config.var.username}".extraGroups = [ "docker" "libvirtd" ];
}