diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-08 00:09:43 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-12 00:29:19 +0200 |
| commit | a61d883366473aef7d93b55f4de11b40e4d06808 (patch) | |
| tree | 79b85edf9dc5b2a90018f2d420c5408ff2f64370 /flake | |
| parent | modules/lf/commands/archive_{de,}compress: Add missing dependencies (diff) | |
| download | nixos-config-a61d883366473aef7d93b55f4de11b40e4d06808.zip | |
treewide: Switch to npins
Diffstat (limited to '')
| -rw-r--r-- | flake.lock | 861 | ||||
| -rw-r--r-- | flake.lock.license | 9 | ||||
| -rw-r--r-- | flake.nix | 256 |
3 files changed, 19 insertions, 1107 deletions
diff --git a/flake.lock b/flake.lock deleted file mode 100644 index b4b59623..00000000 --- a/flake.lock +++ /dev/null @@ -1,861 +0,0 @@ -{ - "nodes": { - "agenix": { - "inputs": { - "darwin": [ - "nix-darwin" - ], - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1770165109, - "narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=", - "owner": "ryantm", - "repo": "agenix", - "rev": "b027ee29d959fda4b60b57566d64c98a202e0feb", - "type": "github" - }, - "original": { - "owner": "ryantm", - "repo": "agenix", - "type": "github" - } - }, - "beautysh": { - "inputs": { - "flake-parts": [ - "flake-parts" - ], - "git-hooks-nix": [ - "git-hooks" - ], - "nix-github-actions": [ - "nix-github-actions" - ], - "nixpkgs": [ - "nixpkgs" - ], - "pyproject-build-systems": "pyproject-build-systems", - "pyproject-nix": "pyproject-nix", - "treefmt-nix": [ - "treefmt-nix" - ], - "uv2nix": "uv2nix" - }, - "locked": { - "lastModified": 1773310854, - "narHash": "sha256-zzDG59jx8ExshO+uRvVNzzWwY2FLjptPOCei1mB1GkU=", - "owner": "lovesegfault", - "repo": "beautysh", - "rev": "34c3b3da0233e76d7d1ad90a78f3679185ecf31c", - "type": "github" - }, - "original": { - "owner": "lovesegfault", - "repo": "beautysh", - "type": "github" - } - }, - "crane": { - "locked": { - "lastModified": 1775839657, - "narHash": "sha256-SPm9ck7jh3Un9nwPuMGbRU04UroFmOHjLP56T10MOeM=", - "owner": "ipetkov", - "repo": "crane", - "rev": "7cf72d978629469c4bd4206b95c402514c1f6000", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "devshell": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1768818222, - "narHash": "sha256-460jc0+CZfyaO8+w8JNtlClB2n4ui1RbHfPTLkpwhU8=", - "owner": "numtide", - "repo": "devshell", - "rev": "255a2b1725a20d060f566e4755dbf571bbbb5f76", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "devshell", - "type": "github" - } - }, - "disko": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1773889306, - "narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", - "owner": "nix-community", - "repo": "disko", - "rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "disko", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1767039857, - "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": [ - "nixpkgs-lib" - ] - }, - "locked": { - "lastModified": 1775087534, - "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "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" - } - }, - "git-hooks": { - "inputs": { - "flake-compat": [ - "flake-compat" - ], - "gitignore": [ - "gitignore" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775585728, - "narHash": "sha256-8Psjt+TWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "580633fa3fe5fc0379905986543fd7495481913d", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1762808025, - "narHash": "sha256-XmjITeZNMTQXGhhww6ed/Wacy2KzD6svioyCX7pkUu4=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "haumea": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776025312, - "narHash": "sha256-fFI2Tt4PCgMwjZ8PEzrhglqj7W5mP094m3H9glHD6WA=", - "owner": "nix-community", - "repo": "haumea", - "rev": "e25760eecb368f9722b30f2bf01a4afc907f8f11", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "haumea", - "type": "github" - } - }, - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776114641, - "narHash": "sha256-VJMt3n9zGRzupzvlhcKIz4SpWflKh0rWfYTgmkmun0Q=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "2de7205ce6e10b031151033e69b7ef89708dc282", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "master", - "repo": "home-manager", - "type": "github" - } - }, - "impermanence": { - "inputs": { - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1769548169, - "narHash": "sha256-03+JxvzmfwRu+5JafM0DLbxgHttOQZkUtDWBmeUkN8Y=", - "owner": "nix-community", - "repo": "impermanence", - "rev": "7b1d382faf603b6d264f58627330f9faa5cba149", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "impermanence", - "type": "github" - } - }, - "ixx": { - "inputs": { - "flake-utils": [ - "nuschtosSearch", - "flake-utils" - ], - "nixpkgs": [ - "nuschtosSearch", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1754860581, - "narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=", - "owner": "NuschtOS", - "repo": "ixx", - "rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281", - "type": "github" - }, - "original": { - "owner": "NuschtOS", - "ref": "v0.1.1", - "repo": "ixx", - "type": "github" - } - }, - "lanzaboote": { - "inputs": { - "crane": [ - "crane" - ], - "nixpkgs": [ - "nixpkgs-stable" - ], - "pre-commit": [ - "pre-commit-hooks" - ], - "rust-overlay": [ - "rust-overlay" - ] - }, - "locked": { - "lastModified": 1765382359, - "narHash": "sha256-RJmgVDzjRI18BWVogG6wpsl1UCuV6ui8qr4DJ1LfWZ8=", - "owner": "nix-community", - "repo": "lanzaboote", - "rev": "e8c096ade12ec9130ff931b0f0e25d2f1bc63607", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "v1.0.0", - "repo": "lanzaboote", - "type": "github" - } - }, - "library": { - "locked": { - "lastModified": 1738443114, - "narHash": "sha256-IV7n/l3rFoz5UuavrDv0a7IIOPne0jDQVmJAR8bve8U=", - "ref": "prime", - "rev": "65bf71bb6ef05ce684924a1dc248bb2e8e2869fb", - "revCount": 17, - "type": "git", - "url": "https://git.foss-syndicate.org/vhack.eu/nix-library" - }, - "original": { - "ref": "prime", - "type": "git", - "url": "https://git.foss-syndicate.org/vhack.eu/nix-library" - } - }, - "nix-darwin": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775037210, - "narHash": "sha256-KM2WYj6EA7M/FVZVCl3rqWY+TFV5QzSyyGE2gQxeODU=", - "owner": "lnl7", - "repo": "nix-darwin", - "rev": "06648f4902343228ce2de79f291dd5a58ee12146", - "type": "github" - }, - "original": { - "owner": "lnl7", - "repo": "nix-darwin", - "type": "github" - } - }, - "nix-github-actions": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1737420293, - "narHash": "sha256-F1G5ifvqTpJq7fdkT34e/Jy9VCyzd5XfJ9TO8fHhJWE=", - "owner": "nix-community", - "repo": "nix-github-actions", - "rev": "f4158fa080ef4503c8f4c820967d946c2af31ec9", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-github-actions", - "type": "github" - } - }, - "nix-index-database": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775970782, - "narHash": "sha256-7jt9Vpm48Yy5yAWigYpde+HxtYEpEuyzIQJF4VYehhk=", - "owner": "nix-community", - "repo": "nix-index-database", - "rev": "bedba5989b04614fc598af9633033b95a937933f", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-index-database", - "type": "github" - } - }, - "nixos-generators": { - "inputs": { - "nixlib": [ - "nixpkgs-lib" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1769813415, - "narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=", - "owner": "nix-community", - "repo": "nixos-generators", - "rev": "8946737ff703382fda7623b9fab071d037e897d5", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixos-generators", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1776030597, - "narHash": "sha256-H2CYM/RmVqCo1iud5BhPp8Pim2d1ESGt2FDHjbmju8A=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c88e63f4caf12c731f61ce71f300680ce73c180e", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable-small", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1775959049, - "narHash": "sha256-o2JFoAWll4ZuHnVKX2ld03ynKR2zkvTDxJ/ZTCDz2/I=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "ec2b7be3c0b3b764aa0380fa32aa304a5b680cf8", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1776067740, - "narHash": "sha256-B35lpsqnSZwn1Lmz06BpwF7atPgFmUgw1l8KAV3zpVQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "7e495b747b51f95ae15e74377c5ce1fe69c1765f", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-25.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixvim": { - "inputs": { - "flake-parts": [ - "flake-parts" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1776128025, - "narHash": "sha256-spZM5zll0cBPHHSZPioZREArzCsllurKQsJME08nnXY=", - "owner": "nix-community", - "repo": "nixvim", - "rev": "0a12693297d23f1b3af04ba6112b5936e2eba41b", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixvim", - "type": "github" - } - }, - "nuschtosSearch": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "ixx": "ixx", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776097945, - "narHash": "sha256-zQFcpo9Caj9ZLvjGHnvXsPjwyUmznf1kixcMA0+e0bw=", - "owner": "NuschtOS", - "repo": "search", - "rev": "d15c05d20b434704c3e84f9dea161b8184b6643d", - "type": "github" - }, - "original": { - "owner": "NuschtOS", - "repo": "search", - "type": "github" - } - }, - "poetry2nix": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nix-github-actions": [ - "nix-github-actions" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ], - "treefmt-nix": [ - "treefmt-nix" - ] - }, - "locked": { - "lastModified": 1743690424, - "narHash": "sha256-cX98bUuKuihOaRp8dNV1Mq7u6/CQZWTPth2IJPATBXc=", - "owner": "nix-community", - "repo": "poetry2nix", - "rev": "ce2369db77f45688172384bbeb962bc6c2ea6f94", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "poetry2nix", - "type": "github" - } - }, - "pre-commit-hooks": { - "inputs": { - "flake-compat": [ - "flake-compat" - ], - "gitignore": [ - "gitignore" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775585728, - "narHash": "sha256-8Psjt+TWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4=", - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "rev": "580633fa3fe5fc0379905986543fd7495481913d", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "type": "github" - } - }, - "pyproject-build-systems": { - "inputs": { - "nixpkgs": [ - "beautysh", - "nixpkgs" - ], - "pyproject-nix": [ - "beautysh", - "pyproject-nix" - ], - "uv2nix": [ - "beautysh", - "uv2nix" - ] - }, - "locked": { - "lastModified": 1772555609, - "narHash": "sha256-3BA3HnUvJSbHJAlJj6XSy0Jmu7RyP2gyB/0fL7XuEDo=", - "owner": "pyproject-nix", - "repo": "build-system-pkgs", - "rev": "c37f66a953535c394244888598947679af231863", - "type": "github" - }, - "original": { - "owner": "pyproject-nix", - "repo": "build-system-pkgs", - "type": "github" - } - }, - "pyproject-nix": { - "inputs": { - "nixpkgs": [ - "beautysh", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1772865871, - "narHash": "sha256-/ZTSg97aouL0SlPHaokA4r3iuH9QzHVuWPACD2CUCFY=", - "owner": "pyproject-nix", - "repo": "pyproject.nix", - "rev": "e537db02e72d553cea470976b9733581bcf5b3ed", - "type": "github" - }, - "original": { - "owner": "pyproject-nix", - "repo": "pyproject.nix", - "type": "github" - } - }, - "qmk_firmware": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ], - "treefmt-nix": [ - "treefmt-nix" - ] - }, - "locked": { - "lastModified": 1753517111, - "narHash": "sha256-dv5P3ahDICDacdzEmcyxrtKgbRWhVFiKQaLEz+WniGM=", - "ref": "prime", - "rev": "4dff2e6ba5c9c80de3e3d2213ad28802814c3bba", - "revCount": 39, - "type": "git", - "url": "https://git.foss-syndicate.org/bpeetz/qmk_layout.git" - }, - "original": { - "ref": "prime", - "type": "git", - "url": "https://git.foss-syndicate.org/bpeetz/qmk_layout.git" - } - }, - "root": { - "inputs": { - "agenix": "agenix", - "beautysh": "beautysh", - "crane": "crane", - "devshell": "devshell", - "disko": "disko", - "flake-compat": "flake-compat", - "flake-parts": "flake-parts", - "flake-utils": "flake-utils", - "git-hooks": "git-hooks", - "gitignore": "gitignore", - "haumea": "haumea", - "home-manager": "home-manager", - "impermanence": "impermanence", - "lanzaboote": "lanzaboote", - "library": "library", - "nix-darwin": "nix-darwin", - "nix-github-actions": "nix-github-actions", - "nix-index-database": "nix-index-database", - "nixos-generators": "nixos-generators", - "nixpkgs": "nixpkgs", - "nixpkgs-lib": "nixpkgs-lib", - "nixpkgs-stable": "nixpkgs-stable", - "nixvim": "nixvim", - "nuschtosSearch": "nuschtosSearch", - "poetry2nix": "poetry2nix", - "pre-commit-hooks": "pre-commit-hooks", - "qmk_firmware": "qmk_firmware", - "rust-overlay": "rust-overlay", - "serverphone": "serverphone", - "systems": "systems", - "templates": "templates", - "treefmt-nix": "treefmt-nix" - } - }, - "rust-overlay": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776050130, - "narHash": "sha256-/f/6/1WOfBJaGMfqV3VxWD9lpFRbPpF+Cx4MO+0mGok=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "3c27f4c92a7d977556dd2c10bb564d9c61b375e9", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "serverphone": { - "inputs": { - "crane": [ - "crane" - ], - "flake-compat": [ - "flake-compat" - ], - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "rust-overlay": [ - "rust-overlay" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1697538431, - "narHash": "sha256-M2nQ9tuvt++ukXCdr4IhGqrQqpPpmjjlOZeAKjHQung=", - "ref": "refs/heads/prime", - "rev": "2ac6ef2b49f4a7b8b0490a068bc2dba6767f0b7d", - "revCount": 71, - "type": "git", - "url": "https://codeberg.org/vhack.eu/serverphone.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/vhack.eu/serverphone.git" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "templates": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ], - "treefmt-nix": [ - "treefmt-nix" - ] - }, - "locked": { - "lastModified": 1733053857, - "narHash": "sha256-rI1qMFzbXVjfEvmf2OS4upnibXpL21its6cCXqhz86o=", - "ref": "refs/heads/prime", - "rev": "0294fb03df7c265f8fae24a9e775d69a953bbf03", - "revCount": 204, - "type": "git", - "url": "https://codeberg.org/bpeetz/flake-templates.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/bpeetz/flake-templates.git" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775636079, - "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "uv2nix": { - "inputs": { - "nixpkgs": [ - "beautysh", - "nixpkgs" - ], - "pyproject-nix": [ - "beautysh", - "pyproject-nix" - ] - }, - "locked": { - "lastModified": 1772545244, - "narHash": "sha256-Ys+5UMOqp2kRvnSjyBcvGnjOhkIXB88On1ZcAstz1vY=", - "owner": "pyproject-nix", - "repo": "uv2nix", - "rev": "482aba340ded40ef557d331315f227d5eba84ced", - "type": "github" - }, - "original": { - "owner": "pyproject-nix", - "repo": "uv2nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.lock.license b/flake.lock.license deleted file mode 100644 index eae6a84c..00000000 --- a/flake.lock.license +++ /dev/null @@ -1,9 +0,0 @@ -nixos-config - My current NixOS configuration - -Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -SPDX-License-Identifier: GPL-3.0-or-later - -This file is part of my nixos-config. - -You should have received a copy of the License along with this program. -If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. diff --git a/flake.nix b/flake.nix index 206a440f..49168bfd 100644 --- a/flake.nix +++ b/flake.nix @@ -11,249 +11,31 @@ { description = "A NixOS System Configuration"; - inputs = { - # base - nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11"; - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; + inputs = {}; - # open nixpkgs prs + outputs = {self, ...}: let + sources = import ./npins/full.nix {}; - library = { - url = "git+https://git.foss-syndicate.org/vhack.eu/nix-library?ref=prime"; - }; - - # inputs for following - nix-darwin = { - url = "github:lnl7/nix-darwin"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - systems = { - url = "github:nix-systems/x86_64-linux"; # only evaluate for this system - }; - nuschtosSearch = { - url = "github:NuschtOS/search"; - inputs = { - flake-utils.follows = "flake-utils"; - nixpkgs.follows = "nixpkgs"; - }; - }; - nix-github-actions = { - url = "github:nix-community/nix-github-actions"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - git-hooks = { - url = "github:cachix/git-hooks.nix"; - inputs = { - flake-compat.follows = "flake-compat"; - gitignore.follows = "gitignore"; - nixpkgs.follows = "nixpkgs"; - }; - }; - poetry2nix = { - url = "github:nix-community/poetry2nix"; - inputs = { - systems.follows = "systems"; - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; - treefmt-nix.follows = "treefmt-nix"; - nix-github-actions.follows = "nix-github-actions"; - }; - }; - flake-parts = { - url = "github:hercules-ci/flake-parts"; - inputs = { - nixpkgs-lib.follows = "nixpkgs-lib"; - }; - }; - nixpkgs-lib = { - url = "github:nix-community/nixpkgs.lib"; - }; - haumea = { - url = "github:nix-community/haumea"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - gitignore = { - url = "github:hercules-ci/gitignore.nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - beautysh = { - url = "github:lovesegfault/beautysh"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-parts.follows = "flake-parts"; - git-hooks-nix.follows = "git-hooks"; - treefmt-nix.follows = "treefmt-nix"; - nix-github-actions.follows = "nix-github-actions"; - }; - }; - devshell = { - url = "github:numtide/devshell"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - pre-commit-hooks = { - url = "github:cachix/pre-commit-hooks.nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-compat.follows = "flake-compat"; - gitignore.follows = "gitignore"; - }; - }; - flake-compat = { - url = "github:edolstra/flake-compat"; - flake = false; - }; - crane = { - url = "github:ipetkov/crane"; - inputs = {}; - }; - flake-utils = { - url = "github:numtide/flake-utils"; - inputs = { - systems.follows = "systems"; - }; - }; - rust-overlay = { - url = "github:oxalica/rust-overlay"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - - # nixos modules - home-manager = { - url = "github:nix-community/home-manager/master"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - disko = { - url = "github:nix-community/disko"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - nixvim = { - url = "github:nix-community/nixvim"; - inputs = { - flake-parts.follows = "flake-parts"; - nixpkgs.follows = "nixpkgs"; - systems.follows = "systems"; - }; - }; - agenix = { - url = "github:ryantm/agenix"; - inputs = { - darwin.follows = "nix-darwin"; - nixpkgs.follows = "nixpkgs"; - home-manager.follows = "home-manager"; - systems.follows = "systems"; - }; - }; - impermanence = { - url = "github:nix-community/impermanence"; - inputs = { - nixpkgs.follows = "nixpkgs"; - home-manager.follows = "home-manager"; - }; - }; - nixos-generators = { - url = "github:nix-community/nixos-generators"; - inputs = { - nixpkgs.follows = "nixpkgs"; - nixlib.follows = "nixpkgs-lib"; - }; - }; - serverphone = { - url = "git+https://codeberg.org/vhack.eu/serverphone.git"; - inputs = { - nixpkgs.follows = "nixpkgs"; - systems.follows = "systems"; - flake-compat.follows = "flake-compat"; - flake-utils.follows = "flake-utils"; - rust-overlay.follows = "rust-overlay"; - crane.follows = "crane"; - }; - }; - lanzaboote = { - url = "github:nix-community/lanzaboote/v1.0.0"; - inputs = { - nixpkgs.follows = "nixpkgs-stable"; - crane.follows = "crane"; - rust-overlay.follows = "rust-overlay"; - pre-commit.follows = "pre-commit-hooks"; - }; - }; - nix-index-database = { - url = "github:nix-community/nix-index-database"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - - # my configs - templates = { - url = "git+https://codeberg.org/bpeetz/flake-templates.git"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; - systems.follows = "systems"; - treefmt-nix.follows = "treefmt-nix"; - }; - }; - - # my bins - qmk_firmware = { - url = "git+https://git.foss-syndicate.org/bpeetz/qmk_layout.git?ref=prime"; - inputs = { - nixpkgs.follows = "nixpkgs"; - treefmt-nix.follows = "treefmt-nix"; - systems.follows = "systems"; - flake-utils.follows = "flake-utils"; - }; - }; - - # external resources - treefmt-nix = { - url = "github:numtide/treefmt-nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - }; - - outputs = { # core - self, - nixpkgs, - nixpkgs-stable, - library, + nixpkgs = sources.loadFlake "nixpkgs"; + nixpkgs-stable = sources.loadFlake "nixpkgs-stable"; + library = sources.loadFlake "library"; # modules - home-manager, - nixos-generators, - impermanence, - agenix, - serverphone, - disko, - lanzaboote, - nixvim, - nix-index-database, + home-manager = sources.loadFlake "home-manager"; + nixos-generators = sources.loadFlake "nixos-generators"; + impermanence = sources.loadFlake "impermanence"; + agenix = sources.loadFlake "agenix"; + serverphone = sources.loadFlake "serverphone"; + disko = sources.loadFlake "disko"; + lanzaboote = sources.loadFlake "lanzaboote"; + nixvim = sources.loadFlake "nixvim"; + nix-index-database = sources.loadFlake "nix-index-database"; # external dependencies - treefmt-nix, - templates, + treefmt-nix = sources.loadFlake "treefmt-nix"; + templates = sources.loadFlake "templates"; # my binaries - qmk_firmware, - ... - }: let + qmk_firmware = sources.loadFlake "qmk_firmware"; + system = "x86_64-linux"; packageSets = rec { |
