From d3a01605785ad9d0efaa7b1cc79b38cad6f634f0 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 3 Sep 2024 11:52:38 -0400 Subject: [PATCH 1/3] Khanda: re-enable IOMMU, disable NVME powersaving instead (works) --- hosts/Khanda/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/Khanda/hardware-configuration.nix b/hosts/Khanda/hardware-configuration.nix index 960c135..10c8dba 100644 --- a/hosts/Khanda/hardware-configuration.nix +++ b/hosts/Khanda/hardware-configuration.nix @@ -77,7 +77,7 @@ in kernelParams = [ "pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm - "iommu=off" # Disable IOMMU, a possible cause of system stuttering + "nvme_core.default_ps_max_latency_us=0" # Disable NVME powersaving to prevent system stuttering. See https://forums.linuxmint.com/viewtopic.php?t=392387 ]; }; From 64c5d8110692c62587d5b120f396926a475337e0 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 3 Sep 2024 11:53:45 -0400 Subject: [PATCH 2/3] Hosts: remove SyncthingTray option --- hosts/Khanda/default.nix | 1 - hosts/Khanda/hardware-configuration.nix | 4 ++-- hosts/Shura/default.nix | 10 ++-------- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/hosts/Khanda/default.nix b/hosts/Khanda/default.nix index 2bcc29f..8100b5d 100644 --- a/hosts/Khanda/default.nix +++ b/hosts/Khanda/default.nix @@ -84,7 +84,6 @@ in syncthing = { enable = true; autostart = true; - enableTray = true; }; }; }; diff --git a/hosts/Khanda/hardware-configuration.nix b/hosts/Khanda/hardware-configuration.nix index 10c8dba..61c7e2b 100644 --- a/hosts/Khanda/hardware-configuration.nix +++ b/hosts/Khanda/hardware-configuration.nix @@ -76,9 +76,9 @@ in ]; kernelParams = [ - "pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm + "pci=hpiosize=0" # Prevent ACPI interrupt storm. See https://github.com/linux-surface/linux-surface/wiki/Surface-Pro-9#acpi-interrupt-storm "nvme_core.default_ps_max_latency_us=0" # Disable NVME powersaving to prevent system stuttering. See https://forums.linuxmint.com/viewtopic.php?t=392387 - ]; + ]; }; # Configure the main filesystem. diff --git a/hosts/Shura/default.nix b/hosts/Shura/default.nix index 0bc780e..2f54330 100644 --- a/hosts/Shura/default.nix +++ b/hosts/Shura/default.nix @@ -114,17 +114,11 @@ in users = { aires = { enable = true; - services.syncthing = { - enable = true; - enableTray = false; # Recent versions of STT don't recognize Gnome's tray. Uninstalling for now. - }; + services.syncthing.enable = true; }; gremlin = { enable = true; - services.syncthing = { - enable = true; - enableTray = false; - }; + services.syncthing.enable = true; }; }; }; From 702565ccd6ef2bd8954bc9322fa9d135144fda74 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 3 Sep 2024 11:53:59 -0400 Subject: [PATCH 3/3] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'nix-secrets': 'git+file:./nix-secrets' (2024-08-30) → 'git+file:./nix-secrets?ref=refs/heads/main&rev=a321a1ba2e23b59a6d39a33258a82021feaa853f' (2024-09-02) --- flake.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 3022b3b..938e891 100644 --- a/flake.lock +++ b/flake.lock @@ -234,10 +234,11 @@ "nix-secrets": { "flake": false, "locked": { - "dirtyRev": "26588368303142902ef91c67ad679da6be5bbeee-dirty", - "dirtyShortRev": "2658836-dirty", - "lastModified": 1725028484, + "lastModified": 1725289601, "narHash": "sha256-GJerArXURZD3VfNScxpa73QKajylnfpeG0U6Z6/XxA8=", + "ref": "refs/heads/main", + "rev": "a321a1ba2e23b59a6d39a33258a82021feaa853f", + "revCount": 64, "type": "git", "url": "file:./nix-secrets" },