about summary refs log blame commit diff
path: root/flake.nix
blob: 016ed063b5dcd7d93606a31db666af4c8623b688 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                     
                                                        
                    
                                                       


                                         
                                                      

    
                                                               


                         





                                                     
{
  description = "A very basic flake";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    nur.url = "github:nix-community/NUR";
    nix-index.url = "github:Mic92/nix-index-database";
  };

  outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
    let user = "baitinq";
    in
    {
      nixosConfigurations = import ./hosts {
        inherit (nixpkgs) lib;
        inherit inputs nixpkgs home-manager nur user;
      };
    };
}