diff options
-rw-r--r-- | machines/t14/hardware-configuration.nix | 4 | ||||
-rw-r--r-- | modules/gnome.nix | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/machines/t14/hardware-configuration.nix b/machines/t14/hardware-configuration.nix index 5850b44..d4bd9e0 100644 --- a/machines/t14/hardware-configuration.nix +++ b/machines/t14/hardware-configuration.nix @@ -19,6 +19,8 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.resumeDevice = "/dev/disk/by-uuid/5f31e34f-75d3-415a-9ed2-88d2c2d630b7"; + fileSystems."/" = { device = "/dev/disk/by-uuid/a8ba9580-b089-4cbb-98e3-52faa0a2dca8"; fsType = "btrfs"; @@ -31,7 +33,7 @@ options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = [ ]; + swapDevices = [ { device = "/dev/disk/by-uuid/5f31e34f-75d3-415a-9ed2-88d2c2d630b7"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/modules/gnome.nix b/modules/gnome.nix index 65bee1c..af49ebb 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -22,6 +22,7 @@ in enable = true; profiles.user.databases = [ { + lockAll = true; settings = { "org/gnome/shell" = { favorite-apps = [ "brave-browser.desktop" "org.gnome.Geary.desktop" "org.gnome.Nautilus.desktop" ]; |