From e8e3ee0b8b504be8c2e53354082ed2ee73bd3773 Mon Sep 17 00:00:00 2001 From: Julian Sutter Date: Tue, 22 Jul 2025 23:43:28 -0700 Subject: [PATCH] updates --- desktop/crypto.nix | 1 + desktop/plasma.nix | 5 +++++ flake.lock | 18 +++++++++--------- flake.nix | 1 + systems/common.nix | 2 ++ systems/framework.nix | 8 +++++++- 6 files changed, 25 insertions(+), 10 deletions(-) diff --git a/desktop/crypto.nix b/desktop/crypto.nix index a33211d..f0dcebe 100644 --- a/desktop/crypto.nix +++ b/desktop/crypto.nix @@ -6,5 +6,6 @@ environment.systemPackages = with pkgs; [ feather electrum kdePackages.kleopatra + tor-browser ]; } diff --git a/desktop/plasma.nix b/desktop/plasma.nix index 953d366..f8fe0e8 100644 --- a/desktop/plasma.nix +++ b/desktop/plasma.nix @@ -36,4 +36,9 @@ Ctrl+Alt+Delete=Lock Session,none,Lock the session ''; + # Enable crashdump services for debugging + services.kdump.enable = true; + services.kdump.extraCrashkernel = "1G"; + + } diff --git a/flake.lock b/flake.lock index fc0b400..8ae9abd 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1752603129, - "narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=", + "lastModified": 1753181343, + "narHash": "sha256-CLQfNtUqirNVSYoW/kYbvL4PeeNasmZonaPnjO3+1YQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b", + "rev": "0cdfcdbb525b77b951c889b6131047bc374f48fe", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1752048960, - "narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=", + "lastModified": 1753122741, + "narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806", + "rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1752480373, - "narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", + "lastModified": 1752950548, + "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", + "rev": "c87b95e25065c028d31a94f06a62927d18763fdf", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 186e3ef..a25e52a 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,7 @@ ./desktop/gaming.nix ./desktop/virtualization.nix ./desktop/daw.nix + ./desktop/crypto.nix ]; }; aurora = nixpkgs.lib.nixosSystem { diff --git a/systems/common.nix b/systems/common.nix index 6ca7790..be2f1b9 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -13,6 +13,7 @@ # hardware hardware.enableRedistributableFirmware = true; + services.fwupd.enable = true; # Network networking = { @@ -125,6 +126,7 @@ pv whois kdePackages.xdg-desktop-portal-kde + fwupd ]; services.flatpak.enable = true; diff --git a/systems/framework.nix b/systems/framework.nix index 6bdaa66..0502627 100644 --- a/systems/framework.nix +++ b/systems/framework.nix @@ -8,7 +8,12 @@ boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; # Include kvm-amd for virtualization support boot.extraModulePackages = []; - boot.kernelParams = [ "amdgpu.dc=1" "usbcore.autosuspend=-1" ] ; + boot.kernelParams = [ + "amdgpu.dc=1" + "usbcore.autosuspend=-1" + "nvme_core.default_ps_max_latency_us=0" + "pcie_aspm=off" "pcie_port_pm=off" + ]; networking.useDHCP = lib.mkDefault true; @@ -32,6 +37,7 @@ }; }; +# Powersac # Swap swapDevices = [