diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.lock | 862 | ||||
| -rw-r--r-- | flake.lock.license | 9 | ||||
| -rw-r--r-- | flake.nix | 261 | ||||
| -rw-r--r-- | flake/default.nix | 5 |
4 files changed, 28 insertions, 1109 deletions
diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 90a81a1d..00000000 --- a/flake.lock +++ /dev/null @@ -1,862 +0,0 @@ -{ - "nodes": { - "agenix": { - "inputs": { - "darwin": [ - "nix-darwin" - ], - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1762618334, - "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=", - "owner": "ryantm", - "repo": "agenix", - "rev": "fcdea223397448d35d9b31f798479227e80183f6", - "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": 1763505064, - "narHash": "sha256-wLqysNhkagZ+sphqMC78cLoKvsMJpJCJr16lgvU37JI=", - "owner": "lovesegfault", - "repo": "beautysh", - "rev": "e5f49f023ed8a62696555bd7c06b90355f083d2d", - "type": "github" - }, - "original": { - "owner": "lovesegfault", - "repo": "beautysh", - "type": "github" - } - }, - "crane": { - "locked": { - "lastModified": 1763938834, - "narHash": "sha256-j8iB0Yr4zAvQLueCZ5abxfk6fnG/SJ5JnGUziETjwfg=", - "owner": "ipetkov", - "repo": "crane", - "rev": "d9e753122e51cee64eb8d2dddfe11148f339f5a2", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "devshell": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1764011051, - "narHash": "sha256-M7SZyPZiqZUR/EiiBJnmyUbOi5oE/03tCeFrTiUZchI=", - "owner": "numtide", - "repo": "devshell", - "rev": "17ed8d9744ebe70424659b0ef74ad6d41fc87071", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "devshell", - "type": "github" - } - }, - "disko": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1764110879, - "narHash": "sha256-xanUzIb0tf3kJ+PoOFmXEXV1jM3PjkDT/TQ5DYeNYRc=", - "owner": "nix-community", - "repo": "disko", - "rev": "aecba248f9a7d68c5d1ed15de2d1c8a4c994a3c5", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "disko", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1761588595, - "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": [ - "nixpkgs-lib" - ] - }, - "locked": { - "lastModified": 1763759067, - "narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", - "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": 1763988335, - "narHash": "sha256-QlcnByMc8KBjpU37rbq5iP7Cp97HvjRP0ucfdh+M4Qc=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "50b9238891e388c9fdc6a5c49e49c42533a1b5ce", - "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": 1708375098, - "narHash": "sha256-DaFJp3wDHgOqx98U0SF57bXaH2Orp106c+jSdPCVu1E=", - "owner": "nix-community", - "repo": "haumea", - "rev": "ec6350fd9353e7f27ce0e85d31f82e3ed73e4d70", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "haumea", - "type": "github" - } - }, - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1764194569, - "narHash": "sha256-iUM9ktarEzThkayyZrzQ7oycPshAY2XRQqVKz0xX/L0=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "9651819d75f6c7ffaf8a9227490ac704f29659f0", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "master", - "repo": "home-manager", - "type": "github" - } - }, - "impermanence": { - "locked": { - "lastModified": 1737831083, - "narHash": "sha256-LJggUHbpyeDvNagTUrdhe/pRVp4pnS6wVKALS782gRI=", - "owner": "nix-community", - "repo": "impermanence", - "rev": "4b3e914cdf97a5b536a889e939fb2fd2b043a170", - "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" - ], - "flake-compat": [ - "flake-compat" - ], - "flake-parts": [ - "flake-parts" - ], - "nixpkgs": [ - "nixpkgs-stable" - ], - "pre-commit-hooks-nix": [ - "pre-commit-hooks" - ], - "rust-overlay": [ - "rust-overlay" - ] - }, - "locked": { - "lastModified": 1737639419, - "narHash": "sha256-AEEDktApTEZ5PZXNDkry2YV2k6t0dTgLPEmAZbnigXU=", - "owner": "nix-community", - "repo": "lanzaboote", - "rev": "a65905a09e2c43ff63be8c0e86a93712361f871e", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "v0.4.2", - "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": 1764161084, - "narHash": "sha256-HN84sByg9FhJnojkGGDSrcjcbeioFWoNXfuyYfJ1kBE=", - "owner": "lnl7", - "repo": "nix-darwin", - "rev": "e95de00a471d07435e0527ff4db092c84998698e", - "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": 1763870992, - "narHash": "sha256-NPyc76Wxmv/vAsXJ8F+/8fXECHYcv2YGSqdiSHp/F/A=", - "owner": "nix-community", - "repo": "nix-index-database", - "rev": "d7423982c7a26586aa237d130b14c8b302c7a367", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-index-database", - "type": "github" - } - }, - "nixos-generators": { - "inputs": { - "nixlib": [ - "nixpkgs-lib" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1764234087, - "narHash": "sha256-NHF7QWa0ZPT8hsJrvijREW3+nifmF2rTXgS2v0tpcEA=", - "owner": "nix-community", - "repo": "nixos-generators", - "rev": "032a1878682fafe829edfcf5fdfad635a2efe748", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixos-generators", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1764245472, - "narHash": "sha256-udCSZoKawLiNJKFQgikkN96tvVJggs61ihRq8sRt8tM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "6c16b7ce10e5ef1fee3aecfb327be61888818a7a", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable-small", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1763860531, - "narHash": "sha256-7AL5rgcGVjhYgZFbZQt1IndGcY27h5B5xi9OWtLlm6c=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "11186dda9f7f43bbbfae3467c07660885263e801", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1763948260, - "narHash": "sha256-dY9qLD0H0zOUgU3vWacPY6Qc421BeQAfm8kBuBtPVE0=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1c8ba8d3f7634acac4a2094eef7c32ad9106532c", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-25.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixvim": { - "inputs": { - "flake-parts": [ - "flake-parts" - ], - "nixpkgs": [ - "nixpkgs" - ], - "nuschtosSearch": [ - "nuschtosSearch" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1764238240, - "narHash": "sha256-7Znm3koZ4sF+O41Y7rJqf651BPEbjIUYF3r9H23GRGw=", - "owner": "nix-community", - "repo": "nixvim", - "rev": "f1e07ba53abd0fb4872a365cba45562144ad6130", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixvim", - "type": "github" - } - }, - "nuschtosSearch": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "ixx": "ixx", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1761730856, - "narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=", - "owner": "NuschtOS", - "repo": "search", - "rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b", - "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": 1763988335, - "narHash": "sha256-QlcnByMc8KBjpU37rbq5iP7Cp97HvjRP0ucfdh+M4Qc=", - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "rev": "50b9238891e388c9fdc6a5c49e49c42533a1b5ce", - "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": 1761781027, - "narHash": "sha256-YDvxPAm2WnxrznRqWwHLjryBGG5Ey1ATEJXrON+TWt8=", - "owner": "pyproject-nix", - "repo": "build-system-pkgs", - "rev": "795a980d25301e5133eca37adae37283ec3c8e66", - "type": "github" - }, - "original": { - "owner": "pyproject-nix", - "repo": "build-system-pkgs", - "type": "github" - } - }, - "pyproject-nix": { - "inputs": { - "nixpkgs": [ - "beautysh", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1763017646, - "narHash": "sha256-Z+R2lveIp6Skn1VPH3taQIuMhABg1IizJd8oVdmdHsQ=", - "owner": "pyproject-nix", - "repo": "pyproject.nix", - "rev": "47bd6f296502842643078d66128f7b5e5370790c", - "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": 1764211126, - "narHash": "sha256-p5y13PnMZYd5WdHk+XCzyUaLGBUCwnz2n4KYKEZM0Pw=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "895935bff08cfcfb663fb9c8263c43596e7cd1ed", - "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": 1762938485, - "narHash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "uv2nix": { - "inputs": { - "nixpkgs": [ - "beautysh", - "nixpkgs" - ], - "pyproject-nix": [ - "beautysh", - "pyproject-nix" - ] - }, - "locked": { - "lastModified": 1763017287, - "narHash": "sha256-6mv/3f2v2ZDnL1PKy32kpaIfLfGBtGVBrqpFZCXzFzI=", - "owner": "pyproject-nix", - "repo": "uv2nix", - "rev": "c8cf711802cb00b2e05d5c54d3486fce7bfc8f7c", - "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>. @@ -11,250 +11,32 @@ { description = "A NixOS System Configuration"; - inputs = { - # base - nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; + inputs = {}; - # open nixpkgs prs + outputs = {self, ...}: let + sources = import ./unflake.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"; - nuschtosSearch.follows = "nuschtosSearch"; - 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 = { - }; - }; - 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/v0.4.2"; - inputs = { - nixpkgs.follows = "nixpkgs-stable"; - flake-compat.follows = "flake-compat"; - flake-parts.follows = "flake-parts"; - crane.follows = "crane"; - rust-overlay.follows = "rust-overlay"; - pre-commit-hooks-nix.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.nixpkgs; + nixpkgs-stable = sources.nixpkgs-stable; + library = sources.library; # modules - home-manager, - nixos-generators, - impermanence, - agenix, - serverphone, - disko, - lanzaboote, - nixvim, - nix-index-database, + home-manager = sources.home-manager; + nixos-generators = sources.nixos-generators; + impermanence = sources.impermanence; + agenix = sources.agenix; + serverphone = sources.serverphone; + disko = sources.disko; + lanzaboote = sources.lanzaboote; + nixvim = sources.nixvim; + nix-index-database = sources.nix-index-database; # external dependencies - treefmt-nix, - templates, + treefmt-nix = sources.treefmt-nix; + templates = sources.templates; # my binaries - qmk_firmware, - ... - }: let + qmk_firmware = sources.qmk_firmware; + turtle = sources.turtle; + system = "x86_64-linux"; packageSets = rec { @@ -297,6 +79,7 @@ externalBinaries = { inherit qmk_firmware + turtle ; }; @@ -305,6 +88,8 @@ outputs = import ./flake { inherit self + sources + nixpkgs system openPRsNixpkgs packageSets diff --git a/flake/default.nix b/flake/default.nix index 83138f32..099a4568 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -9,6 +9,8 @@ # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { self, + sources, + nixpkgs, system, openPRsNixpkgs, packageSets, @@ -29,6 +31,8 @@ nixosConfigurations = import ../hosts { inherit self + sources + nixpkgs system openPRsNixpkgs packageSets @@ -91,6 +95,7 @@ in { pkgs.cocogitto pkgs.git-bug pkgs.reuse + pkgs.html2text # secrets pkgs.ragenix |
