From ad6c4432bb7d671b1273ae0ce57989be3f2151df Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 29 Sep 2024 20:33:16 +0200 Subject: t14: 34 current 2024-09-29 20:33:13 24.05.20240928.fbca5e7 6.6.52 * --- machines/t14/hardware-configuration.nix | 4 +++- modules/gnome.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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" ]; -- cgit 1.4.1