summaryrefslogblamecommitdiffstats
path: root/flake.nix
blob: 4edd899685582f80208075e2282011777bc61975 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
                                              
    










                                                                     
      



                                                                                                     
                             



                                    
                                                                                                       

           
      
 
{
    description = "Jon's NixOS configuration";
    
    inputs = {
        nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
        nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
        
        home-manager = {
            url = "github:nix-community/home-manager";
            inputs.nixpkgs.follows = "nixpkgs";
        };
        
        nurpkgs.url = "github:nix-community/NUR";
        nixos-hardware.url = "github:NixOS/nixos-hardware/master";
    };
    
    outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, nurpkgs, home-manager, ... }@inputs:
    let
      inherit (self) outputs;
      stateVersion = "23.11";
    in {
      nixosConfigurations = (
          import ./hosts {
              inherit (nixpkgs) lib;
              inherit inputs nixpkgs nixpkgs-unstable nixos-hardware nurpkgs home-manager stateVersion;
          }
      );
    };
}