this repo has no description
at main 2.6 kB view raw
1{ 2 description = "My nixos configuration"; 3 4 # Add all your dependencies here 5 inputs = { 6 # Nixpkgs 7 nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; 8 nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; 9 nixpkgs-lib.url = "github:nix-community/nixpkgs.lib"; 10 systems.url = "github:nix-systems/default"; 11 12 # Determinate Nix 13 determinate = { 14 url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; 15 inputs.nixpkgs.follows = "nixpkgs"; 16 }; 17 18 # Flake utilities 19 blueprint = { 20 url = "github:numtide/blueprint"; 21 inputs.nixpkgs.follows = "nixpkgs"; 22 inputs.systems.follows = "systems"; 23 }; 24 devshell = { 25 url = "github:numtide/devshell"; 26 inputs.nixpkgs.follows = "nixpkgs"; 27 }; 28 flake-parts = { 29 url = "github:hercules-ci/flake-parts"; 30 inputs.nixpkgs-lib.follows = "nixpkgs-lib"; 31 }; 32 treefmt-nix = { 33 url = "github:numtide/treefmt-nix"; 34 inputs.nixpkgs.follows = "nixpkgs"; 35 }; 36 37 # NixOs Inputs 38 agenix = { 39 url = "github:ryantm/agenix"; 40 # TODO: Enable once darwin is setup 41 inputs.darwin.follows = ""; 42 inputs.home-manager.follows = "home-manager"; 43 inputs.nixpkgs.follows = "nixpkgs"; 44 inputs.systems.follows = "systems"; 45 }; 46 disko = { 47 url = "github:nix-community/disko"; 48 inputs.nixpkgs.follows = "nixpkgs"; 49 }; 50 home-manager = { 51 url = "github:nix-community/home-manager/release-25.11"; 52 inputs.nixpkgs.follows = "nixpkgs"; 53 }; 54 nixos-anywhere = { 55 url = "github:nix-community/nixos-anywhere"; 56 inputs.disko.follows = "disko"; 57 inputs.flake-parts.follows = "flake-parts"; 58 inputs.nixpkgs.follows = "nixpkgs-unstable"; 59 inputs.nixos-stable.follows = "nixpkgs"; 60 inputs.treefmt-nix.follows = "treefmt-nix"; 61 }; 62 nixos-facter-modules = { 63 url = "github:numtide/nixos-facter-modules"; 64 }; 65 nixos-generators = { 66 url = "github:nix-community/nixos-generators"; 67 inputs.nixlib.follows = "nixpkgs-lib"; 68 inputs.nixpkgs.follows = "nixpkgs"; 69 }; 70 nixos-hardware = { 71 url = "github:NixOS/nixos-hardware"; 72 }; 73 74 # Nix Utilities 75 nix-fast-build = { 76 url = "github:Mic92/nix-fast-build"; 77 inputs.flake-parts.follows = "flake-parts"; 78 inputs.nixpkgs.follows = "nixpkgs"; 79 inputs.treefmt-nix.follows = "treefmt-nix"; 80 }; 81 }; 82 83 # Load the blueprint 84 outputs = inputs: 85 inputs.blueprint { 86 inherit inputs; 87 prefix = "nix/"; 88 # Only support systems that have at least one host 89 systems = ["x86_64-linux"]; 90 }; 91}