HASH cae506a8a7d3
DATE 2025-02-01
SUBJECT ooksdesk: enable swap
FILES 1 CHANGED
HASH cae506a8a7d3
DATE 2025-02-01
SUBJECT ooksdesk: enable swap
FILES 1 CHANGED
┌─ hosts/ooksdesk/file-system.nix ───────────────────────────────────────────┐
│ diff --git a/hosts/ooksdesk/file-system.nix b/hosts/ooksdesk/file-system.nix │
│ index a063c0b..af8d795 100644 │
│ --- a/hosts/ooksdesk/file-system.nix │
│ +++ b/hosts/ooksdesk/file-system.nix │
│ @@ -30,5 +30,10 @@ │
│ fsType = "vfat"; │
│ }; │
│ }; │
│ - swapDevices = []; │
│ + swapDevices = [ │
│ + { │
│ + device = "/swap/swapfile"; │
│ + size = 8 * 1024; │
│ + } │
│ + ]; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ hosts/ooksdesk/file-system.nix ─────┐
│ diff --git a/hosts/ooksdesk/file-system.nix │
│ b/hosts/ooksdesk/file-system.nix │
│ index a063c0b..af8d795 100644 │
│ --- a/hosts/ooksdesk/file-system.nix │
│ +++ b/hosts/ooksdesk/file-system.nix │
│ @@ -30,5 +30,10 @@ │
│ fsType = "vfat"; │
│ }; │
│ }; │
│ - swapDevices = []; │
│ + swapDevices = [ │
│ + { │
│ + device = "/swap/swapfile"; │
│ + size = 8 * 1024; │
│ + } │
│ + ]; │
│ } │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET