mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
add swap
This commit is contained in:
parent
5f9a852d73
commit
b274a4511b
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
(modulesPath + "/virtualisation/digital-ocean-config.nix")
|
||||
];
|
||||
|
||||
swapDevices = [{ device = "/swapfile"; size = 2048; }];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue