mini-2024-12-03-21-19-49

This commit is contained in:
Alexander Szczepanski
2024-12-03 21:19:49 +01:00
parent 24ec594402
commit 324c1545fd
3 changed files with 5 additions and 21 deletions

View File

@ -12,6 +12,8 @@
};
};
users.extraGroups.docker.members = ["alex"];
environment = {
systemPackages = with pkgs; [
docker-compose

View File

@ -37,7 +37,6 @@ in {
hashedPasswordFile = config.sops.secrets.hashedPassword.path;
extraGroups = [
"wheel"
"docker"
"networkmanager"
"lp"
"nginx"

View File

@ -14,7 +14,7 @@
];
sops = {
defaultSopsFile = ../../secrets-mini.yaml;
defaultSopsFile = ../../secrets/secrets-mini.yaml;
};
boot = {
@ -95,27 +95,10 @@
"/persist/borg"
];
};
};
virtualisation = {
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
})
.fd
];
};
};
locate = {
prunePaths = [ "/mnt" "/nix" ];
};
spiceUSBRedirection.enable = true;
};
powerManagement = {