too much to mention

This commit is contained in:
2024-11-02 18:48:19 +01:00
parent 1dfce7fd9b
commit 11fd6bc478
17 changed files with 222 additions and 102 deletions

View File

@ -0,0 +1,4 @@
{ ... }:
{
imports = [ ./virtualization.nix ];
}

View File

@ -0,0 +1,27 @@
{ config, pkgs, ... }: {
boot.kernelModules = [ "kvm-amd" ];
virtualisation = {
docker = {
enable = true;
autoPrune.enable = true;
daemon.settings = {
"live-restore" = false;
};
};
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [ pkgs.OVMF.fd ];
};
};
};
};
}

View File

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./steam.nix
./1password.nix
./flatpak.nix
];
}

View File

@ -0,0 +1,10 @@
{ pkgs, ... }: {
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}