diff --git a/aliases/lock.sh b/aliases/lock.sh new file mode 100755 index 0000000..1401105 --- /dev/null +++ b/aliases/lock.sh @@ -0,0 +1 @@ +loginctl lock-session diff --git a/nix/hosts/kumatani/configuration.nix b/nix/hosts/kumatani/configuration.nix index a734409..6bab374 100644 --- a/nix/hosts/kumatani/configuration.nix +++ b/nix/hosts/kumatani/configuration.nix @@ -31,6 +31,12 @@ open = true; videoAcceleration = true; }; + swapDevices = [ + { + device = "/swapfile"; + size = 4 * 1024; + } + ]; time.timeZone = "America/Vancouver"; diff --git a/nix/hosts/usahara/configuration.nix b/nix/hosts/usahara/configuration.nix index 50789e7..958a0b6 100644 --- a/nix/hosts/usahara/configuration.nix +++ b/nix/hosts/usahara/configuration.nix @@ -28,6 +28,12 @@ networking.hostName = meta.hostname; networking.networkmanager.enable = true; hardware.bluetooth.enable = true; + swapDevices = [ + { + device = "/swapfile"; + size = 4 * 1024; + } + ]; time.timeZone = "America/Vancouver";