moved virtualisation configuration to apps
This commit is contained in:
parent
6dbeecbd49
commit
a9b3387db6
|
@ -17,13 +17,15 @@
|
||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
yubikey-manager-qt
|
yubikey-manager-qt
|
||||||
gparted
|
gparted
|
||||||
hashcat
|
|
||||||
libsForQt5.kdeconnect-kde
|
libsForQt5.kdeconnect-kde
|
||||||
obsidian
|
obsidian
|
||||||
|
|
||||||
# flatpak
|
# flatpak
|
||||||
flatpak
|
flatpak
|
||||||
gnome.gnome-software
|
gnome.gnome-software
|
||||||
|
|
||||||
|
# virtualisation
|
||||||
|
podman-compose
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -54,4 +56,31 @@
|
||||||
|
|
||||||
# flatpak for bluebubbles client
|
# flatpak for bluebubbles client
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
# podman
|
||||||
|
virtualisation = {
|
||||||
|
podman = {
|
||||||
|
enable = true;
|
||||||
|
dockerCompat = true;
|
||||||
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# enable libvirt
|
||||||
|
libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu = {
|
||||||
|
package = pkgs.qemu_kvm;
|
||||||
|
runAsRoot = true;
|
||||||
|
swtpm.enable = true;
|
||||||
|
ovmf = {
|
||||||
|
enable = true;
|
||||||
|
packages = [(pkgs.OVMF.override {
|
||||||
|
secureBoot = true;
|
||||||
|
tpmSupport = true;
|
||||||
|
}).fd];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
users.users.caleb.extraGroups = [ "libvirtd" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
./application-configuration.nix
|
./application-configuration.nix
|
||||||
./software-development-configuration.nix
|
./software-development-configuration.nix
|
||||||
./school-configuration.nix
|
./school-configuration.nix
|
||||||
./virtualisation-configuration.nix
|
|
||||||
./faf-linux.nix
|
./faf-linux.nix
|
||||||
./winapps.nix
|
./winapps.nix
|
||||||
];
|
];
|
||||||
|
@ -57,6 +56,8 @@
|
||||||
"vscode"
|
"vscode"
|
||||||
"code"
|
"code"
|
||||||
"Oracle_VM_VirtualBox_Extension_Pack"
|
"Oracle_VM_VirtualBox_Extension_Pack"
|
||||||
|
|
||||||
|
"obsidian"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
podman-compose
|
|
||||||
docker-compose
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation = {
|
|
||||||
podman = {
|
|
||||||
enable = true;
|
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
docker = {
|
|
||||||
enable = true;
|
|
||||||
rootless = {
|
|
||||||
enable = true;
|
|
||||||
setSocketVariable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# enable libvirt
|
|
||||||
libvirtd = {
|
|
||||||
enable = true;
|
|
||||||
qemu = {
|
|
||||||
package = pkgs.qemu_kvm;
|
|
||||||
runAsRoot = true;
|
|
||||||
swtpm.enable = true;
|
|
||||||
ovmf = {
|
|
||||||
enable = true;
|
|
||||||
packages = [(pkgs.OVMF.override {
|
|
||||||
secureBoot = true;
|
|
||||||
tpmSupport = true;
|
|
||||||
}).fd];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
users.users.caleb.extraGroups = [ "libvirtd" "docker" ];
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user