mini-2024-12-03-21-19-49
This commit is contained in:
@ -12,6 +12,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.extraGroups.docker.members = ["alex"];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
docker-compose
|
docker-compose
|
||||||
|
@ -37,7 +37,6 @@ in {
|
|||||||
hashedPasswordFile = config.sops.secrets.hashedPassword.path;
|
hashedPasswordFile = config.sops.secrets.hashedPassword.path;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"docker"
|
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"lp"
|
"lp"
|
||||||
"nginx"
|
"nginx"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ../../secrets-mini.yaml;
|
defaultSopsFile = ../../secrets/secrets-mini.yaml;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
@ -95,27 +95,10 @@
|
|||||||
"/persist/borg"
|
"/persist/borg"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation = {
|
locate = {
|
||||||
libvirtd = {
|
prunePaths = [ "/mnt" "/nix" ];
|
||||||
enable = true;
|
|
||||||
qemu = {
|
|
||||||
package = pkgs.qemu_kvm;
|
|
||||||
swtpm.enable = true;
|
|
||||||
ovmf = {
|
|
||||||
enable = true;
|
|
||||||
packages = [
|
|
||||||
(pkgs.OVMF.override {
|
|
||||||
secureBoot = true;
|
|
||||||
tpmSupport = true;
|
|
||||||
})
|
|
||||||
.fd
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
spiceUSBRedirection.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
|
Reference in New Issue
Block a user