diff --git a/flake.lock b/flake.lock index 9336587..3da8da6 100644 --- a/flake.lock +++ b/flake.lock @@ -198,11 +198,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1757182941, - "narHash": "sha256-81TKa5U84gRc6krwhVOwb5gpgXgYxIeS1kkwOTw1GN4=", + "lastModified": 1757267471, + "narHash": "sha256-ThyzQzi0uQn5Ui8jFRcjpWOWpjX00utBegHhMfBKyZE=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "11bfa4c0dc07da1e7e49c5111cc9bfa1260ba98f", + "rev": "08bff060191426d82e0cb95fc6a328e632087744", "type": "github" }, "original": { @@ -379,11 +379,11 @@ ] }, "locked": { - "lastModified": 1757244185, - "narHash": "sha256-HilBHmA5RPzAs8s048xTFlWiHfQjd6bqod9Y93SATSc=", + "lastModified": 1757252286, + "narHash": "sha256-QwWQzlxAGvIi6VAc8DQ6ONCKKwtPyaHQW1cQyGbP7Og=", "owner": "AvengeMedia", "repo": "dgop", - "rev": "c3616ea7cd64c935eee76d96f260702ed88976f2", + "rev": "a65a02ddf8bade9c109d055e644e4bd851183bd5", "type": "github" }, "original": { @@ -399,11 +399,11 @@ ] }, "locked": { - "lastModified": 1755962344, - "narHash": "sha256-Who8Q9eZS2QTXasgTL4i9YtHkjPqAZven1znUI+nP6w=", + "lastModified": 1757252286, + "narHash": "sha256-QwWQzlxAGvIi6VAc8DQ6ONCKKwtPyaHQW1cQyGbP7Og=", "owner": "AvengeMedia", "repo": "dgop", - "rev": "4d3a0431b7d65008349c45952d53665e3aade0f7", + "rev": "a65a02ddf8bade9c109d055e644e4bd851183bd5", "type": "github" }, "original": { @@ -419,11 +419,11 @@ ] }, "locked": { - "lastModified": 1756733629, - "narHash": "sha256-dwWGlDhcO5SMIvMSTB4mjQ5Pvo2vtxvpIknhVnSz2I8=", + "lastModified": 1757255839, + "narHash": "sha256-XH33B1X888Xc/xEXhF1RPq/kzKElM0D5C9N6YdvOvIc=", "owner": "nix-community", "repo": "disko", - "rev": "a5c4f2ab72e3d1ab43e3e65aa421c6f2bd2e12a1", + "rev": "c8a0e78d86b12ea67be6ed0f7cae7f9bfabae75a", "type": "github" }, "original": { @@ -824,11 +824,11 @@ "nixpkgs-lib": "nixpkgs-lib_2" }, "locked": { - "lastModified": 1754487366, - "narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=", + "lastModified": 1756770412, + "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18", + "rev": "4524271976b625a4a605beefd893f270620fd751", "type": "github" }, "original": { @@ -1150,11 +1150,11 @@ ] }, "locked": { - "lastModified": 1757072639, - "narHash": "sha256-8aC1lUvVpu2BBBgX7iKYyf5nyuGfoyYStxD4es3mzuM=", + "lastModified": 1757075491, + "narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "a51e585a05d318f988dfe09ec7fe31de966d9a76", + "rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf", "type": "github" }, "original": { @@ -1262,11 +1262,11 @@ }, "master": { "locked": { - "lastModified": 1757188035, - "narHash": "sha256-HdfiR1Y7RdgKJpBICfgKKgqFX0YUDa+F0OFtEnL8LD8=", + "lastModified": 1757268878, + "narHash": "sha256-FzQQdCuyxdh30wF5Ujths2Ja3NoTLfrlQ+z8EhvxBOE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c1d2556e5458b735d49f73ad965a3a59d73522a9", + "rev": "50a00d8692c0253cc75a3dc0bfc46a88d98f1b8c", "type": "github" }, "original": { @@ -1350,11 +1350,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1757183725, - "narHash": "sha256-oZaONTM5A7AhRaXvGr8PNyVL7qbFNIZpMXpsYdTOPmc=", + "lastModified": 1757246205, + "narHash": "sha256-x+cTvOZL5Fwa/YVmfMEnXg1+bjj4e8wYGoe1pt6c/oM=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "32d7f54892a516be2060a1e106cde7b47a733c62", + "rev": "4f38421373b783cfbe395973fda7a1b39af60200", "type": "github" }, "original": { @@ -1383,11 +1383,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1756926064, - "narHash": "sha256-5/1vyFRLvJWxhBgpPaV2orC0pjSgIny6JM6+joLyZok=", + "lastModified": 1757242823, + "narHash": "sha256-EqZPBr+fPs7uoFCDLxRa8kRcrUgn0kZTVTky/7I81aI=", "owner": "YaLTeR", "repo": "niri", - "rev": "c69464c1288789020d9a086f86c970a7dc49b8c7", + "rev": "22f629c24b9f81a2fcaaf3a79d75128484c6ed78", "type": "github" }, "original": { @@ -1521,11 +1521,11 @@ "nixpkgs": "nixpkgs_12" }, "locked": { - "lastModified": 1757123094, - "narHash": "sha256-S0lJ5N55/DQuCeudcbZZnBZWeVs+uU+G69hgMMCosTk=", + "lastModified": 1757210397, + "narHash": "sha256-pGAd0KLt6FMu7x742zs4OVYkoUx2o6vJGvYUVZJpNG4=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "77c3d68d549bfd1d43269ed2584a2cdee6320946", + "rev": "e479c636519292b50de48f73d7df6cf14c745a1c", "type": "github" }, "original": { @@ -1734,11 +1734,11 @@ }, "nixpkgs-lib_2": { "locked": { - "lastModified": 1753579242, - "narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=", + "lastModified": 1754788789, + "narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e", + "rev": "a73b9c743612e4244d865a2fdee11865283c04e6", "type": "github" }, "original": { @@ -1797,11 +1797,11 @@ }, "nixpkgs_11": { "locked": { - "lastModified": 1756787288, - "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", + "lastModified": 1757068644, + "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", + "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "type": "github" }, "original": { @@ -1813,11 +1813,11 @@ }, "nixpkgs_12": { "locked": { - "lastModified": 1756536218, - "narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=", + "lastModified": 1756911493, + "narHash": "sha256-6n/n1GZQ/vi+LhFXMSyoseKdNfc2QQaSBXJdgamrbkE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1", + "rev": "c6a788f552b7b7af703b1a29802a7233c0067908", "type": "github" }, "original": { @@ -1893,11 +1893,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1756989294, - "narHash": "sha256-vh3F0p7pGvj9tItYjlqiZ3zTJCuw9+d74RhYCYLuaBQ=", + "lastModified": 1757238739, + "narHash": "sha256-ovEq9v+Xc+oQH1zvQo28rT/YVqMQK2TRgUcNanvo2Zk=", "owner": "PedroHLC", "repo": "nixpkgs", - "rev": "f04ea9d87566cfe950cf45d7311a9964dcf3bf38", + "rev": "6d8fca2c92488ff860524dd3400aa90a3310123e", "type": "github" }, "original": { @@ -4207,11 +4207,11 @@ ] }, "locked": { - "lastModified": 1755960406, - "narHash": "sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs=", + "lastModified": 1757239681, + "narHash": "sha256-E9spYi9lxm2f1zWQLQ7xQt8Xs2nWgr1T4QM7ZjLFphM=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2", + "rev": "ab82ab08d6bf74085bd328de2a8722c12d97bd9d", "type": "github" }, "original": { @@ -4381,11 +4381,11 @@ ] }, "locked": { - "lastModified": 1757039615, - "narHash": "sha256-qm53+EUFfzyF8F0MEscHGqf9tx462GV3/zUZrn9wiQU=", + "lastModified": 1757125853, + "narHash": "sha256-noKkYHKpT5lpvNSYrlH56d8cedthZfs010Uv6vTqLT4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "4486e04adbb4b0e39f593767f2c36e2211003d01", + "rev": "8b70793a6be183536a5d562056dac10b7b36820d", "type": "github" }, "original": { @@ -4827,11 +4827,11 @@ }, "unstable": { "locked": { - "lastModified": 1756787288, - "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", + "lastModified": 1757068644, + "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", + "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "type": "github" }, "original": { diff --git a/homes/x86_64-linux/kylekrein/niri/niri.nix b/homes/x86_64-linux/kylekrein/niri/niri.nix index 5daa0f7..6382aaf 100644 --- a/homes/x86_64-linux/kylekrein/niri/niri.nix +++ b/homes/x86_64-linux/kylekrein/niri/niri.nix @@ -383,21 +383,20 @@ in }; settings.listener = let secondary = "${systemctl} suspend"; - in - lib.optionals (osConfig.custom.hardware.battery.enable) [ - #{ - # timeout = 30; - # command = "pidof hyprlock && ${secondary}"; - #} - { - timeout = 870; - on-timeout = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}"; - } - { - timeout = 900; - on-timeout = "${suspendScript "${systemctl} suspend"}"; - } - ]; + in [ + #{ + # timeout = 30; + # command = "pidof hyprlock && ${secondary}"; + #} + { + timeout = 870; + on-timeout = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}"; + } + { + timeout = 900; + on-timeout = "${suspendScript "${systemctl} suspend"}"; + } + ]; }; systemd.user.services.lisgd-niri = lib.mkIf (osConfig.custom.hardware.framework12.enable) { Unit = {