mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 10:16:31 +05:30
start fresh rewrite
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
./docker.nix
|
||||
./waydroid.nix
|
||||
./qemu.nix
|
||||
];
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
username,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation = {
|
||||
oci-containers.backend = "docker";
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [lazydocker];
|
||||
|
||||
users.users.${username}.extraGroups = ["docker"];
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
swtpm.enable = true;
|
||||
};
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = ["libvirtd"];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
virt-viewer
|
||||
];
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{...}: {
|
||||
virtualisation = {
|
||||
waydroid.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user