{ description = "A complete, declarative, and reproducible configuration of my entire Nix fleet"; inputs = { flakeParts.url = "github:hercules-ci/flake-parts"; # nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgsUnstable.follows = "hyprland/nixpkgs"; nixpkgsStable.url = "github:NixOS/nixpkgs/nixos-23.05"; nixosHardware.url = "github:NixOS/nixos-hardware"; homeManager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; # TODO: remove after https://github.com/nix-community/home-manager/pull/3811 homeManagerGitWorkspace = { url = "github:aciceri/home-manager/git-workspace"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs = { nixpkgs.follows = "nixpkgsUnstable"; nixpkgs-stable.follows = "nixpkgsStable"; }; }; nur.url = "github:nix-community/NUR"; agenix.url = "github:ryantm/agenix"; comma.url = "github:nix-community/comma"; rock5b.url = "github:aciceri/rock5b-nixos"; ccrEmacs.url = "github:aciceri/emacs"; # ccrEmacs.url = "/home/ccr/.config/emacs"; hyprland = { url = "github:hyprwm/hyprland"; }; hyprpaper = { url = "github:hyprwm/hyprpaper"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; colmena = { url = "github:zhaofengli/colmena"; inputs = { nixpkgs.follows = "nixpkgsUnstable"; stable.follows = "nixpkgsStable"; }; }; nix-serve-ng = { url = "github:aristanetworks/nix-serve-ng"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; # hydra.url = "github:NixOS/hydra"; nixos-vscode-server.url = "github:msteen/nixos-vscode-server"; helix.url = "github:helix-editor/helix"; nil.url = "github:oxalica/nil"; nom.url = "github:maralorn/nix-output-monitor"; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; statix = { url = "github:nerdypepper/statix"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; deadnix = { url = "github:astro/deadnix"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; alejandra = { url = "github:kamadorueda/alejandra"; inputs.nixpkgs.follows = "nixpkgsUnstable"; }; hercules-ci-effects.url = "github:hercules-ci/hercules-ci-effects"; # nixpkgsImmich.url = "github:oddlama/nixpkgs/init-immich"; }; outputs = inputs @ {flakeParts, ...}: flakeParts.lib.mkFlake {inherit inputs;} ({lib, ...}: { imports = [ # TODO export modules as flake outputs # ./modules # ./hmModules ./hosts ./packages ./shell ./checks inputs.hercules-ci-effects.flakeModule ]; systems = ["x86_64-linux" "aarch64-linux"]; herculesCI.ciSystems = [ "x86_64-linux" # "aarch64-linux" ]; }); nixConfig = { extra-substituters = [ "https://hyprland.cachix.org" ]; extra-trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; }; }