Migrate siit-dc to flakes
This commit is contained in:
parent
35b438b115
commit
a4b95111ab
6 changed files with 52 additions and 14 deletions
|
@ -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
11
shared/hardware/vm.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 2 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue