Migrate siit-dc to flakes

This commit is contained in:
Vili Sinervä 2025-06-04 23:50:16 +03:00
parent 35b438b115
commit a4b95111ab
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
6 changed files with 52 additions and 14 deletions

View file

@ -124,12 +124,6 @@
######################################## Memory management ######################################
zramSwap.enable = true;
swapDevices = [
{
device = "/var/lib/swapfile";
size = 8 * 1024;
}
];
######################################## Housekeeping ###########################################
system.autoUpgrade = {

11
shared/hardware/vm.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = 2 * 1024;
}
];
services.qemuGuest.enable = true;
}