about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-09-29 20:33:16 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-09-29 20:33:16 +0200
commitad6c4432bb7d671b1273ae0ce57989be3f2151df (patch)
treef0df89454b8f2a4d1ca4895146a06ce70afa6f90
parentb56d3e4e1ff47e227539340413b05fc13ecc54aa (diff)
downloaddots-ad6c4432bb7d671b1273ae0ce57989be3f2151df.tar.gz
dots-ad6c4432bb7d671b1273ae0ce57989be3f2151df.zip
t14: 34 current 2024-09-29 20:33:13 24.05.20240928.fbca5e7 6.6.52 *
-rw-r--r--machines/t14/hardware-configuration.nix4
-rw-r--r--modules/gnome.nix1
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" ];