{ description = "faumaray's NixOS configuration: Hyprland + Noctalia, Stylix, agenix, disko, lanzaboote"; nixConfig = { extra-substituters = [ "https://nix-community.cachix.org" "https://noctalia.cachix.org" ]; extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ]; }; inputs = { # Hyprland git and Noctalia v5 both track nixos-unstable. nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Dendritic glue: every .nix file under ./modules is a flake-parts module, # imported by import-tree (paths containing `/_` are skipped). flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; }; import-tree.url = "github:vic/import-tree"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; }; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgs"; }; lanzaboote = { url = "github:nix-community/lanzaboote/v1.2.0"; inputs.nixpkgs.follows = "nixpkgs"; }; proxy-suite = { url = "github:FUFSoB/proxy-suite-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; nixos-hardware.url = "github:NixOS/nixos-hardware"; # Hyprland is consumed through its own overlay (modules/flake/overlays.nix), # built against our nixpkgs so mesa/libdrm always match the system. hyprland = { url = "github:hyprwm/Hyprland"; inputs.nixpkgs.follows = "nixpkgs"; }; # No `follows` on purpose: keeps the noctalia.cachix.org binary cache usable. noctalia.url = "github:noctalia-dev/noctalia"; # Theming (modules/theme/stylix.nix). Stylix has no home-manager input. stylix = { url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-parts.follows = "flake-parts"; }; # Serena MCP server for Claude Code (modules/ai/claude-code.nix); not in # nixpkgs. Pinned to a release tag: bump the tag to update. serena = { url = "github:oraios/serena/v2.0.0"; inputs.nixpkgs.follows = "nixpkgs"; }; # Rust toolchains for the dev shells (modules/dev/shells/rust.nix). fenix = { url = "github:nix-community/fenix"; inputs.nixpkgs.follows = "nixpkgs"; }; vintagestory-nix = { url = "git+https://codeberg.org/PierreBorine/vintagestory-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; # The owner's Neovim configuration (modules/cli/neovim.nix): plain files, # not a flake. The repository is private and Nix has no credentials for # HTTPS, so it is fetched over SSH with the key of the user who runs nix # (`nix flake update nvim`, the first evaluation on a machine); once in the # store it is reused, also by root. git.faumaray.ru is the Gitea behind # git.faumaray.com. A machine or CI runner without that key cannot evaluate # the desktop host (see README, Neovim). nvim = { url = "git+ssh://git@git.faumaray.ru/faumaray/nvim.git"; flake = false; }; }; outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); }