diff --git a/flake.lock b/flake.lock index 3dd74e56..29be3cb8 100644 --- a/flake.lock +++ b/flake.lock @@ -99,12 +99,12 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1726248336, - "narHash": "sha256-e7gRQHB6dnvzjBZuAaWOO8adYZLodoxFir9YI0TyW6M=", - "rev": "f43f7397b3eec7a047783d384afe1faddebb6761", - "revCount": 1409, + "lastModified": 1726403681, + "narHash": "sha256-G922au3LygfpO+4CsAzQmtlg+KXjx8dSwehDwkCFMjQ=", + "rev": "68d822079a1b3e31db3cf1e30e32a69b46e6dfa3", + "revCount": 1410, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/chaotic-cx/nyx/0.1.1409%2Brev-f43f7397b3eec7a047783d384afe1faddebb6761/0191ec7a-8f02-7dac-a221-74163f795ff8/source.tar.gz?rev=f43f7397b3eec7a047783d384afe1faddebb6761&revCount=1409" + "url": "https://api.flakehub.com/f/pinned/chaotic-cx/nyx/0.1.1410%2Brev-68d822079a1b3e31db3cf1e30e32a69b46e6dfa3/0191f5b2-5f56-7a06-812a-494b53bfb812/source.tar.gz?rev=68d822079a1b3e31db3cf1e30e32a69b46e6dfa3&revCount=1410" }, "original": { "type": "tarball", @@ -205,11 +205,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1726036322, - "narHash": "sha256-9Hwl4lzB5yFah00OaXSMDPDubCy99wtLgsYxMVpMwlM=", + "lastModified": 1726230467, + "narHash": "sha256-YyMNF7IFyysZ2KeqEO6AmV3nQeaDSxyNXLdHp1ghO60=", "owner": "nix-community", "repo": "fenix", - "rev": "3e50a3c915882f07cb3f6c246f09febc4ad36c3e", + "rev": "43efa7a3a97f290441bd75b18defcd4f7b8df220", "type": "github" }, "original": { @@ -226,11 +226,11 @@ "rust-analyzer-src": "rust-analyzer-src_2" }, "locked": { - "lastModified": 1726230467, - "narHash": "sha256-YyMNF7IFyysZ2KeqEO6AmV3nQeaDSxyNXLdHp1ghO60=", + "lastModified": 1726381916, + "narHash": "sha256-/ybEGP0EyalM6UNe8hnx/SqcGtey+UMtKKOy1sCpX7I=", "owner": "nix-community", "repo": "fenix", - "rev": "43efa7a3a97f290441bd75b18defcd4f7b8df220", + "rev": "3ade5be29c0ed4f5aeb93d9293a2b5bad62f1d1c", "type": "github" }, "original": { @@ -248,11 +248,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1726310681, - "narHash": "sha256-qqOi+qmUN12GEi6LkLRfdR6B3r/3vCQUkKnEwWv8LV8=", + "lastModified": 1726372998, + "narHash": "sha256-JPFENJ3kiEm06AhXLM6lZGQ1EJSwVwJQcdM/6PFqMRs=", "owner": "rycee", "repo": "nur-expressions", - "rev": "1722f681109568b070bacb824880074d8e9d3d8f", + "rev": "e8d764f10084bb5ba96300adbb9b3e82550347e9", "type": "gitlab" }, "original": { @@ -273,11 +273,11 @@ ] }, "locked": { - "lastModified": 1726317119, - "narHash": "sha256-40WAa5/83zGfb26GfkGX/tnxcEeQlL2VqibyR+u056U=", + "lastModified": 1726362895, + "narHash": "sha256-I4fEe6Qx+BTcc202zAy0R07a02vTV328UQXOIWLUjwY=", "owner": "nix-community", "repo": "flake-firefox-nightly", - "rev": "9936f08d0694ea0684b5fbfe7b047e71fe3b5269", + "rev": "e2196acad3e466b26cb1bb03b9c93513ee5397b8", "type": "github" }, "original": { @@ -394,6 +394,27 @@ "type": "github" } }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": [ + "runix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1726153070, + "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-schemas": { "locked": { "lastModified": 1721999734, @@ -499,7 +520,7 @@ }, "flake-utils_6": { "inputs": { - "systems": "systems_8" + "systems": "systems_9" }, "locked": { "lastModified": 1710146030, @@ -616,11 +637,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1725976743, - "narHash": "sha256-pLQQbiC9uO4lF58fAnlcDxlbsBB1XFWswsU1oZOIVqU=", + "lastModified": 1726394915, + "narHash": "sha256-guDSphIBbkUGI9LQDAls4PUDDJFl9URC0EAUKb+sjks=", "owner": "helix-editor", "repo": "helix", - "rev": "237cbe4bca46eed52efed39ed75eb44aaccbdde3", + "rev": "5ce77de0dc7106c6f1460d80a3c5a51eaea3108c", "type": "github" }, "original": { @@ -661,11 +682,11 @@ ] }, "locked": { - "lastModified": 1726308872, - "narHash": "sha256-d4vwO5N4RsLnCY7k5tY9xbdYDWQsY3RDMeUoIa4ms2A=", + "lastModified": 1726357542, + "narHash": "sha256-p4OrJL2weh0TRtaeu1fmNYP6+TOp/W2qdaIJxxQay4c=", "owner": "nix-community", "repo": "home-manager", - "rev": "6c1a461a444e6ccb3f3e42bb627b510c3a722a57", + "rev": "e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f", "type": "github" }, "original": { @@ -703,11 +724,11 @@ ] }, "locked": { - "lastModified": 1726036828, - "narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=", + "lastModified": 1726222338, + "narHash": "sha256-KuA8ciNR8qCF3dQaCaeh0JWyQUgEwkwDHr/f49Q5/e8=", "owner": "nix-community", "repo": "home-manager", - "rev": "8a1671642826633586d12ac3158e463c7a50a112", + "rev": "503af483e1b328691ea3a434d331995595fb2e3d", "type": "github" }, "original": { @@ -1033,11 +1054,11 @@ ] }, "locked": { - "lastModified": 1726031155, - "narHash": "sha256-QUv5cxy40HRC7vJz9JjbVEmlHT+q1VIuikNJUQZHre0=", + "lastModified": 1726115155, + "narHash": "sha256-VDylz5VX4JD4/TZv6xUJDwuvNdgLRGoOpue1dlZGdIQ=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "90c68db7d9430bd30e8c5096a0e3dc078b410050", + "rev": "02cf60ce20b6034fc0459e5116cec7016aaff6e4", "type": "github" }, "original": { @@ -1150,11 +1171,11 @@ "umu": "umu" }, "locked": { - "lastModified": 1726104489, - "narHash": "sha256-nn2Rp6Op78xWF8OJa0utad8yvrxf93K7BcOEwPtafg8=", + "lastModified": 1726364380, + "narHash": "sha256-hICWlRKF1lOzRwTepJORe9hWYGkUVXJxKjTe5P5CSg0=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "3a97598cb9ca7eed51bc361b025ed26cc52852e0", + "rev": "3e51c9884bca93625ff1deca440e30c8d2f2e522", "type": "github" }, "original": { @@ -1243,11 +1264,11 @@ }, "nixpkgs-small": { "locked": { - "lastModified": 1726220054, - "narHash": "sha256-Q3V+VtbSMlD2GNmW8xqN/6hz56gE1EekKpHTyO9hiT4=", + "lastModified": 1726392453, + "narHash": "sha256-7jEyfAC/Osn5XOkicbL5Xzng71qYb+u1hc1GrNs86Mo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "537289eed405d1f7653cf02bff9186dfa3f9b344", + "rev": "1f3227d4dd63a5307830bd521b24a05ca741531a", "type": "github" }, "original": { @@ -1273,6 +1294,22 @@ "type": "github" } }, + "nixpkgs_10": { + "locked": { + "lastModified": 1726062873, + "narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1717196966, @@ -1386,11 +1423,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1726062873, - "narHash": "sha256-IiA3jfbR7K/B5+9byVi9BZGWTD4VSbWe8VLpp9B/iYk=", + "lastModified": 1726243404, + "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4f807e8940284ad7925ebd0a0993d2a1791acb2f", + "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059", "type": "github" }, "original": { @@ -1453,10 +1490,31 @@ "nixpak": "nixpak", "nixpkgs": "nixpkgs_9", "nixpkgs-small": "nixpkgs-small", - "systems": "systems_7", + "runix": "runix", + "systems": "systems_8", "wezterm": "wezterm" } }, + "runix": { + "inputs": { + "flake-parts": "flake-parts_4", + "nixpkgs": "nixpkgs_10", + "systems": "systems_7" + }, + "locked": { + "lastModified": 1726403814, + "narHash": "sha256-by72+sV6Q3h2c9jjqqEQFGuOhZy8G29qF6HKDomoWWs=", + "ref": "refs/heads/main", + "rev": "a8fce63c468fc4689a83c06d2f7eb8d5e8900f2f", + "revCount": 4, + "type": "git", + "url": "https://git.sr.ht/~canasta/runix" + }, + "original": { + "type": "git", + "url": "https://git.sr.ht/~canasta/runix" + } + }, "rust-analyzer-src": { "flake": false, "locked": { @@ -1477,11 +1535,11 @@ "rust-analyzer-src_2": { "flake": false, "locked": { - "lastModified": 1725985110, - "narHash": "sha256-0HKj+JI6rtxaE6Kzcd6HyFNbEFJRsLy5DoNgVF1pyRM=", + "lastModified": 1726220668, + "narHash": "sha256-0Cb2bK2eyZ1njSX3593USMlcrj94VZprNN1/HllIfgw=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "bcc708992104c2059f310fbc3ac00bfc377f9ea8", + "rev": "4221354a8fe90ea8218d3757d14735eac08d3e81", "type": "github" }, "original": { @@ -1570,11 +1628,11 @@ ] }, "locked": { - "lastModified": 1725675754, - "narHash": "sha256-hXW3csqePOcF2e/PYnpXj72KEYyNj2HzTrVNmS/F7Ug=", + "lastModified": 1726280639, + "narHash": "sha256-YfLRPlFZWrT2oRLNAoqf7G3+NnUTDdlIJk6tmBU7kXM=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "8cc45e678e914a16c8e224c3237fb07cf21e5e54", + "rev": "e9f8641c92f26fd1e076e705edb12147c384171d", "type": "github" }, "original": { @@ -1689,6 +1747,21 @@ } }, "systems_8": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, + "systems_9": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1742,11 +1815,11 @@ }, "locked": { "dir": "nix", - "lastModified": 1726339510, - "narHash": "sha256-usBvEjcRlFOtsAvKgnWuiNTrUAogSCuzIpQQQWvbWTM=", + "lastModified": 1726359931, + "narHash": "sha256-yGcSRN6T7YgRI2k0LpcKwuJQ+QO/YvzBVeUaWtlMN3U=", "owner": "wez", "repo": "wezterm", - "rev": "3a4125e728a9051565d0af5fe5a8805bc29d1fb4", + "rev": "1eddc9157f51577d7984dd6aec3b780ecec1d4a0", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d9eac47d..437c65b3 100644 --- a/flake.nix +++ b/flake.nix @@ -130,5 +130,8 @@ url = "github:wez/wezterm/main?dir=nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + + # Custom apps + runix.url = "git+https://git.sr.ht/~canasta/runix"; }; } diff --git a/home/modules/default.nix b/home/modules/default.nix index 044fee89..95fdfda2 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -22,6 +22,7 @@ "${userModules}/utils/waybar" "${userModules}/utils/yazi" "${userModules}/utils/zathura" + "${userModules}/utils/runix" "${userModules}/wm/hyprland" "${userModules}/wm/utils/hypridle" "${userModules}/wm/utils/hyprlock" diff --git a/home/modules/utils/runix/default.nix b/home/modules/utils/runix/default.nix new file mode 100644 index 00000000..3509bbed --- /dev/null +++ b/home/modules/utils/runix/default.nix @@ -0,0 +1,21 @@ +{ + inputs, + config, + lib, + ... +}: let + inherit (lib) mkIf mkEnableOption; + cfg = config.modules.utils.runix; +in { + imports = [ + inputs.runix.homeManagerModules.default + ]; + options = { + modules.utils.runix.enable = mkEnableOption "Enables runix"; + }; + config = mkIf cfg.enable { + programs.runix = { + enable = true; + }; + }; +} diff --git a/home/users/cnst/modules.nix b/home/users/cnst/modules.nix index cd8af596..2b179ccf 100644 --- a/home/users/cnst/modules.nix +++ b/home/users/cnst/modules.nix @@ -76,6 +76,9 @@ zathura = { enable = true; }; + runix = { + enable = true; + }; misc = { enable = true; }; diff --git a/system/default.nix b/system/default.nix index 98d972d0..495ddabc 100644 --- a/system/default.nix +++ b/system/default.nix @@ -4,8 +4,6 @@ let ./nix ./modules ]; - desktop = [ - ]; in { - inherit shared desktop; + inherit shared; }