From 7982e77c125332c02a70b731f07eb8694e9551ff Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 15 Aug 2026 21:21:16 +0100 Subject: [PATCH] Update --- flake.lock | 166 +++++++++++++++++++++++--------------------- flake.nix | 4 +- system/services.nix | 7 ++ 3 files changed, 97 insertions(+), 80 deletions(-) diff --git a/flake.lock b/flake.lock index 902d6a4..8b212a6 100644 --- a/flake.lock +++ b/flake.lock @@ -25,11 +25,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1781164160, - "narHash": "sha256-dxo3aPnfaQJt9K/3NhgKfu2Q9B42z4d4Or9Izoug+68=", + "lastModified": 1784365424, + "narHash": "sha256-kJO1Tww/GkvLq5amrV4BKidYGr5YumM+cH/xYALAiw4=", "owner": "abenz1267", "repo": "elephant", - "rev": "3296842820d04d5ec774afc7528492fcbb3c01f2", + "rev": "23f37238367355cf46843015ad5e94706200176a", "type": "github" }, "original": { @@ -46,11 +46,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1782878575, - "narHash": "sha256-sw0B1D//VBGXLQZJXXFLjunnMfO7hCZ5S1kv06BBO5A=", + "lastModified": 1786766570, + "narHash": "sha256-aKICdV1hUtO8Nn6XRBJ4n1B0zVYTYIJrjww/QL5tXIc=", "owner": "rycee", "repo": "nur-expressions", - "rev": "e5d8f0375b4613d200e8efd64df2183a75290c4e", + "rev": "1fbf8c892ec48fa84cd2a7a6d60425b210c69d93", "type": "gitlab" }, "original": { @@ -81,11 +81,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1778716662, - "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", + "lastModified": 1785627969, + "narHash": "sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", + "rev": "427bf4bd9435fdf21321c8cc628c24efc14c0f7a", "type": "github" }, "original": { @@ -136,18 +136,17 @@ "nix-gaming", "flake-compat" ], - "gitignore": "gitignore", "nixpkgs": [ "nix-gaming", "nixpkgs" ] }, "locked": { - "lastModified": 1781733627, - "narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=", + "lastModified": 1784288435, + "narHash": "sha256-ReRHaLgr/uVqdD8afFSn+myXIfpHeOhP0yYe0TJqAA8=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39", + "rev": "43b3c1ab9d40fb1dbb008f451988a91e375825e9", "type": "github" }, "original": { @@ -156,28 +155,6 @@ "type": "github" } }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "nix-gaming", - "git-hooks", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -185,16 +162,16 @@ ] }, "locked": { - "lastModified": 1782704057, - "narHash": "sha256-G1I1gd32F7mp9LAe1DaZ4ZL7NX5gyiKwdCMwro1Vrck=", + "lastModified": 1786824011, + "narHash": "sha256-f7I9xNDaZLO1rLPzZxjc6ZGRQYuIVbgs1iLFm44YFJ8=", "owner": "nix-community", "repo": "home-manager", - "rev": "868d0a692de703c2de98fab61968e4e310b7c28e", + "rev": "58405b3b0ce13e9cd4af7dc697687b4d9b74e56d", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-26.05", + "ref": "master", "repo": "home-manager", "type": "github" } @@ -247,11 +224,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1782879690, - "narHash": "sha256-pPA8uv71nqPxxsF1wU1m0gnP4+G+pZtfcEIw5Zv8Q20=", + "lastModified": 1786789564, + "narHash": "sha256-9RfAshi6/ou2P2NgiuHNtGGHghzmtpk0Z8uG3CqKa08=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "0c07b30bc7bd15014db7154597b34ca12f60398c", + "rev": "5607f78eb46ce192a1fdf2f4f566682e769c7c35", "type": "github" }, "original": { @@ -260,6 +237,25 @@ "type": "github" } }, + "nixos-hardware": { + "inputs": { + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1786717298, + "narHash": "sha256-asdPlqtM0AweQ5YNLad6eY4tSYW55YNr1uyayf7mOMQ=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "2dda192987ab6815e44df0130f03d6c907b79134", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1768661221, @@ -278,11 +274,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1777168982, - "narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=", + "lastModified": 1785031560, + "narHash": "sha256-OmshNvn2vupOFpYinLUu+1Dnpu4n7Q5N3ggGVNHpkUI=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14", + "rev": "0e79af5e3d4dcfcd676ab5ba3f95d2e3352e078c", "type": "github" }, "original": { @@ -308,11 +304,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1782723713, - "narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=", + "lastModified": 1786599213, + "narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8", + "rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4", "type": "github" }, "original": { @@ -356,11 +352,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1782175435, - "narHash": "sha256-EMzXKmnOtBQ2MnvpiNOm7E+kOMvdPrIKaeg52Tip2Uk=", + "lastModified": 1785975029, + "narHash": "sha256-X44cn5rzytELc3NNoQsh0aLkjWA/QzPfc6HPQmsG3sU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "89570f24e97e614aa34aa9ab1c927b6578a43775", + "rev": "70ce234312134a463ba7728e94da2486a1d237ac", "type": "github" }, "original": { @@ -372,27 +368,40 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1782847225, - "narHash": "sha256-JC9PjqKYG9ve5U8aDOLQipp3+KLANBHUvGdLZlxzdKI=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "95ca1e203c0750115fd4a6f17d5a245dfe6b1edd", - "type": "github" + "lastModified": 1767892417, + "narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=", + "rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba", + "type": "tarball", + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz" }, "original": { - "owner": "nixos", - "ref": "nixos-26.05", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" } }, "nixpkgs_6": { "locked": { - "lastModified": 1779560665, - "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "lastModified": 1786599213, + "narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1783776592, + "narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3", "type": "github" }, "original": { @@ -404,14 +413,14 @@ }, "psysonic": { "inputs": { - "nixpkgs": "nixpkgs_6" + "nixpkgs": "nixpkgs_7" }, "locked": { - "lastModified": 1782918112, - "narHash": "sha256-cduzx0wvvEuOGqi4dMbiGMIw7I2R0MxKbTQqxnZjrJU=", + "lastModified": 1786744105, + "narHash": "sha256-dnrB1Qschbx49uE3kaz5coFbv9Zo1AjSnsFzTymuuw0=", "owner": "Psychotoxical", "repo": "psysonic", - "rev": "114ad4633f816115b640d41bfe7592732741e6df", + "rev": "3f423656a111b754cfa7456482003196ea429766", "type": "github" }, "original": { @@ -428,7 +437,8 @@ "home-manager": "home-manager", "impermanence": "impermanence", "nix-gaming": "nix-gaming", - "nixpkgs": "nixpkgs_5", + "nixos-hardware": "nixos-hardware", + "nixpkgs": "nixpkgs_6", "nixpkgs-unstable": "nixpkgs-unstable", "psysonic": "psysonic", "try-cli": "try-cli", @@ -489,11 +499,11 @@ ] }, "locked": { - "lastModified": 1770817563, - "narHash": "sha256-REadu3/mf6EHbXofjkYgu/gZ/UBSFOMQ5YhtflwmDNE=", + "lastModified": 1786659111, + "narHash": "sha256-0uqUVb4B8C94edZSGpmAbpvq8qjuWaV1tyfgP74aK3U=", "owner": "tobi", "repo": "try-cli", - "rev": "f52328af336f7dfa93396069ebcd7152df399010", + "rev": "1a0bc444c182aa32c10faef80c7275a93a59519a", "type": "github" }, "original": { @@ -510,11 +520,11 @@ ] }, "locked": { - "lastModified": 1782311621, - "narHash": "sha256-K8mog5N+Qv01VyM5n74sOeXCn+2OYgrSZnVDAKQ33zc=", + "lastModified": 1786714390, + "narHash": "sha256-yocRHGetgqt3SJ/px/ftz3Z6vvAEMSFoa+VhJux/9hs=", "owner": "peteonrails", "repo": "voxtype", - "rev": "31b7f38c4e22c4ce75d6350945729e5db001cb9a", + "rev": "167c99e4fc92a0c8a5520b1e360be1b82f71d2da", "type": "github" }, "original": { @@ -534,11 +544,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1781164128, - "narHash": "sha256-xPcYrHdDXWykIi5/XXkLvliBArRnfzvs+atB9El1qhI=", + "lastModified": 1784217994, + "narHash": "sha256-gxHJsrJZo2qbKK47Kf/9ho3i/HhRwkL8XvPnczGPd9E=", "owner": "abenz1267", "repo": "walker", - "rev": "aa1e4b7d59237e8c43dde58636bae476f23d9bfb", + "rev": "42b3ed88abf50bc52638fb2835b7f17e3ea3ac4c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d17fd5b..4ec07af 100644 --- a/flake.nix +++ b/flake.nix @@ -17,14 +17,14 @@ }; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nix-gaming.url = "github:fufexan/nix-gaming"; disko.url = "github:nix-community/disko/latest"; impermanence.url = "github:nix-community/impermanence"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; home-manager = { - url = "github:nix-community/home-manager/release-26.05"; + url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; firefox-addons = { diff --git a/system/services.nix b/system/services.nix index 85009ba..c44bbd5 100644 --- a/system/services.nix +++ b/system/services.nix @@ -41,6 +41,13 @@ gnome.gnome-keyring.enable = true; hardware.bolt.enable = true; + logind = { + enable = true; + settings.Login = { + HandleLidSwitch = "suspend"; + HandleLidSwitchDocked = "suspend"; + }; + }; }; security.pam.services.sddm.enableGnomeKeyring = true; }