From 6f0d4657da1bd6e0988554bdfa963cdef9269fe7 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 28 May 2025 21:43:45 +0200 Subject: [PATCH] feat(desktop): add my custom script. --- flake.lock | 337 ++++++++++++++---- flake.nix | 3 + .../linux/home-manager/shell-additions.nix | 1 + 3 files changed, 270 insertions(+), 71 deletions(-) diff --git a/flake.lock b/flake.lock index 4c03624..e8d2ba0 100644 --- a/flake.lock +++ b/flake.lock @@ -217,6 +217,22 @@ } }, "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { "flake": false, "locked": { "lastModified": 1747046372, @@ -232,7 +248,7 @@ "type": "github" } }, - "flake-compat_4": { + "flake-compat_5": { "flake": false, "locked": { "lastModified": 1696426674, @@ -248,7 +264,7 @@ "type": "github" } }, - "flake-compat_5": { + "flake-compat_6": { "locked": { "lastModified": 1733328505, "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", @@ -263,7 +279,7 @@ "type": "github" } }, - "flake-compat_6": { + "flake-compat_7": { "flake": false, "locked": { "lastModified": 1696426674, @@ -365,11 +381,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -379,6 +395,24 @@ } }, "flake-utils_2": { + "inputs": { + "systems": "systems_4" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { "inputs": { "systems": "systems_5" }, @@ -396,9 +430,27 @@ "type": "github" } }, - "flake-utils_3": { + "flake-utils_4": { "inputs": { - "systems": "systems_8" + "systems": "systems_7" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_5": { + "inputs": { + "systems": "systems_10" }, "locked": { "lastModified": 1709126324, @@ -414,9 +466,9 @@ "type": "github" } }, - "flake-utils_4": { + "flake-utils_6": { "inputs": { - "systems": "systems_9" + "systems": "systems_11" }, "locked": { "lastModified": 1701680307, @@ -472,8 +524,8 @@ }, "git-hooks_2": { "inputs": { - "flake-compat": "flake-compat_4", - "gitignore": "gitignore_2", + "flake-compat": "flake-compat_5", + "gitignore": "gitignore_3", "nixpkgs": [ "neovim-nightly-overlay", "nixpkgs" @@ -499,7 +551,7 @@ "stylix", "flake-compat" ], - "gitignore": "gitignore_3", + "gitignore": "gitignore_4", "nixpkgs": [ "stylix", "nixpkgs" @@ -541,6 +593,28 @@ } }, "gitignore_2": { + "inputs": { + "nixpkgs": [ + "hb-downloader", + "pre-commit-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" + } + }, + "gitignore_3": { "inputs": { "nixpkgs": [ "neovim-nightly-overlay", @@ -562,7 +636,7 @@ "type": "github" } }, - "gitignore_3": { + "gitignore_4": { "inputs": { "nixpkgs": [ "stylix", @@ -584,7 +658,7 @@ "type": "github" } }, - "gitignore_4": { + "gitignore_5": { "inputs": { "nixpkgs": [ "upfast", @@ -648,6 +722,26 @@ "type": "github" } }, + "hb-downloader": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs_4", + "pre-commit-hooks": "pre-commit-hooks" + }, + "locked": { + "lastModified": 1710853817, + "narHash": "sha256-Fn3lxKgi3BGWO2ku9LSZaNWTu1ls+BZjokPHElHzlpk=", + "ref": "refs/heads/main", + "rev": "867786099aca217af82c58122c4c54db847dbfdd", + "revCount": 8, + "type": "git", + "url": "https://git.cronyakatsuki.xyz/crony/hb-downloader" + }, + "original": { + "type": "git", + "url": "https://git.cronyakatsuki.xyz/crony/hb-downloader" + } + }, "hercules-ci-effects": { "inputs": { "flake-parts": "flake-parts_2", @@ -734,8 +828,8 @@ }, "iamb": { "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_4", + "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_6", "rust-overlay": "rust-overlay" }, "locked": { @@ -769,7 +863,7 @@ }, "nbfc-linux": { "inputs": { - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_8", "utils": "utils_2" }, "locked": { @@ -789,12 +883,12 @@ }, "neovim-nightly-overlay": { "inputs": { - "flake-compat": "flake-compat_3", + "flake-compat": "flake-compat_4", "flake-parts": "flake-parts", "git-hooks": "git-hooks_2", "hercules-ci-effects": "hercules-ci-effects", "neovim-src": "neovim-src", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_9", "treefmt-nix": "treefmt-nix" }, "locked": { @@ -1004,6 +1098,22 @@ } }, "nixpkgs-stable": { + "locked": { + "lastModified": 1710695816, + "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "614b4613980a522ba49f0d194531beddbb7220d3", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_2": { "locked": { "lastModified": 1704874635, "narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=", @@ -1020,6 +1130,38 @@ } }, "nixpkgs_10": { + "locked": { + "lastModified": 1747744144, + "narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { + "locked": { + "lastModified": 1746152631, + "narHash": "sha256-zBuvmL6+CUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "032bc6539bd5f14e9d0c51bd79cfe9a055b094c3", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_12": { "locked": { "lastModified": 1709237383, "narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=", @@ -1035,7 +1177,7 @@ "type": "github" } }, - "nixpkgs_11": { + "nixpkgs_13": { "locked": { "lastModified": 1704842529, "narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=", @@ -1084,6 +1226,38 @@ } }, "nixpkgs_4": { + "locked": { + "lastModified": 1709703039, + "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1710765496, + "narHash": "sha256-p7ryWEeQfMwTB6E0wIUd5V2cFTgq+DRRBz2hYGnJZyA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e367f7a1fb93137af22a3908f00b9a35e2d286a7", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { "locked": { "lastModified": 1736883708, "narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=", @@ -1099,7 +1273,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_7": { "locked": { "lastModified": 1736320768, "narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=", @@ -1115,7 +1289,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_8": { "locked": { "lastModified": 1705957679, "narHash": "sha256-Q8LJaVZGJ9wo33wBafvZSzapYsjOaNjP/pOnSiKVGHY=", @@ -1131,7 +1305,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_9": { "locked": { "lastModified": 1747958103, "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=", @@ -1147,38 +1321,6 @@ "type": "github" } }, - "nixpkgs_8": { - "locked": { - "lastModified": 1747744144, - "narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_9": { - "locked": { - "lastModified": 1746152631, - "narHash": "sha256-zBuvmL6+CUsk2J8GINpyy8Hs1Zp4PP6iBWSmZ4SCQ/s=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "032bc6539bd5f14e9d0c51bd79cfe9a055b094c3", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nmd": { "flake": false, "locked": { @@ -1262,11 +1404,11 @@ "nvf": { "inputs": { "flake-parts": "flake-parts_3", - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_4", "mnw": "mnw", "nil": "nil", - "nixpkgs": "nixpkgs_9", - "systems": "systems_6" + "nixpkgs": "nixpkgs_11", + "systems": "systems_8" }, "locked": { "lastModified": 1747525582, @@ -1284,12 +1426,34 @@ }, "pre-commit-hooks": { "inputs": { - "flake-compat": "flake-compat_6", - "flake-utils": "flake-utils_4", - "gitignore": "gitignore_4", - "nixpkgs": "nixpkgs_11", + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_2", + "gitignore": "gitignore_2", + "nixpkgs": "nixpkgs_5", "nixpkgs-stable": "nixpkgs-stable" }, + "locked": { + "lastModified": 1710843117, + "narHash": "sha256-b6iKQeHegzpc697rxTPA3bpwGN3m50eLCgdQOmceFuE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "e8dc1b4fe80c6fcededde7700e6a23bcdf7f3347", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, + "pre-commit-hooks_2": { + "inputs": { + "flake-compat": "flake-compat_7", + "flake-utils": "flake-utils_6", + "gitignore": "gitignore_5", + "nixpkgs": "nixpkgs_13", + "nixpkgs-stable": "nixpkgs-stable_2" + }, "locked": { "lastModified": 1708018599, "narHash": "sha256-M+Ng6+SePmA8g06CmUZWi1AjG2tFBX9WCXElBHEKnyM=", @@ -1311,6 +1475,7 @@ "deploy-rs": "deploy-rs", "disko": "disko", "git-hooks": "git-hooks", + "hb-downloader": "hb-downloader", "home-manager": "home-manager_2", "iamb": "iamb", "nbfc-linux": "nbfc-linux", @@ -1318,7 +1483,7 @@ "nix-flatpak": "nix-flatpak", "nix-index-database": "nix-index-database", "nix-on-droid": "nix-on-droid", - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_10", "nvf": "nvf", "stylix": "stylix", "upfast": "upfast" @@ -1326,7 +1491,7 @@ }, "rust-overlay": { "inputs": { - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_7" }, "locked": { "lastModified": 1736994333, @@ -1387,7 +1552,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-compat": "flake-compat_5", + "flake-compat": "flake-compat_6", "flake-parts": "flake-parts_4", "git-hooks": "git-hooks_3", "gnome-shell": "gnome-shell", @@ -1396,7 +1561,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_7", + "systems": "systems_9", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -1432,6 +1597,36 @@ "type": "github" } }, + "systems_10": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_11": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_2": { "locked": { "lastModified": 1681028828, @@ -1678,10 +1873,10 @@ }, "upfast": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_5", "gomod2nix": "gomod2nix", - "nixpkgs": "nixpkgs_10", - "pre-commit-hooks": "pre-commit-hooks" + "nixpkgs": "nixpkgs_12", + "pre-commit-hooks": "pre-commit-hooks_2" }, "locked": { "lastModified": 1710684364, @@ -1717,7 +1912,7 @@ }, "utils_2": { "inputs": { - "systems": "systems_4" + "systems": "systems_6" }, "locked": { "lastModified": 1710146030, diff --git a/flake.nix b/flake.nix index 5267e1d..f085ba7 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,9 @@ # My selfhosted service, inspired by 0x0.st upfast.url = "git+https://git.cronyakatsuki.xyz/crony/UpFast"; + + # My custom script for downloading humble bundle scripts + hb-downloader.url = "git+https://git.cronyakatsuki.xyz/crony/hb-downloader"; }; outputs = { diff --git a/modules/linux/home-manager/shell-additions.nix b/modules/linux/home-manager/shell-additions.nix index a6e1f35..b47cc4b 100644 --- a/modules/linux/home-manager/shell-additions.nix +++ b/modules/linux/home-manager/shell-additions.nix @@ -19,6 +19,7 @@ toot inputs.agenix.packages.${system}.default inputs.deploy-rs.packages.${system}.default + inputs.hb-downloader.packages.${system}.default ]; }; }