diff --git a/desktop/crypto.nix b/desktop/crypto.nix index ac7458b..a33211d 100644 --- a/desktop/crypto.nix +++ b/desktop/crypto.nix @@ -5,6 +5,6 @@ environment.systemPackages = with pkgs; [ feather electrum - kleopatra + kdePackages.kleopatra ]; } diff --git a/flake.lock b/flake.lock index 7f0349b..b2025af 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1745439012, - "narHash": "sha256-TwbdiH28QK7Da2JQTqFHdb+UCJq6QbF2mtf+RxHVzEA=", + "lastModified": 1745627989, + "narHash": "sha256-mOCdFmxocBPae7wg7RYWOtJzWMJk34u9493ItY0dVqw=", "owner": "nix-community", "repo": "home-manager", - "rev": "d31710fb2cd536b1966fee2af74e99a0816a61a8", + "rev": "4d2d32231797bfa7213ae5e8ac89d25f8caaae82", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1745392233, - "narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=", + "lastModified": 1745503349, + "narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64", + "rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1745234285, - "narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", + "lastModified": 1745526057, + "narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c11863f1e964833214b767f4a369c6e6a7aba141", + "rev": "f771eb401a46846c1aebd20552521b233dd7e18b", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index a6d7964..e017306 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,7 @@ ./desktop/office.nix ./desktop/gaming.nix ./desktop/virtualization.nix + ./desktop/crypto.nix ]; }; aurora = nixpkgs.lib.nixosSystem { diff --git a/systems/framework.nix b/systems/framework.nix index 9d8c9f9..efd3898 100644 --- a/systems/framework.nix +++ b/systems/framework.nix @@ -30,6 +30,23 @@ }; }; + + # Swap + swapDevices = [ + { + device = "/swapfile"; + size = 102400; + # optional: set up file with correct permissions at activation + priority = 0; + } + ]; + + systemd.tmpfiles.rules = [ + "f /swapfile 0600 root root - -" + ]; + + + # Disable power-profiles-daemon to resolve conflict services.power-profiles-daemon.enable = false; @@ -49,6 +66,7 @@ services.logind = { lidSwitch = "suspend"; lidSwitchDocked = "ignore"; # Prevent suspend when connected to a dock + lidSwitchExternalPower = "ignore"; powerKey = "poweroff"; # Optional: configure behavior for the power key suspendKey = "suspend"; # Optional: configure behavior for the suspend key };