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

            
                                                        
 
                    
                                                       

                                         


                                                           
                                         
 
                                                      

    
                                                          


                         

                                            
                                                 


        
{
  description = "My NixOS configuration";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

    home-manager = {
      url = "github:nix-community/home-manager/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    impermanence.url = "github:nix-community/impermanence";

    nur.url = "github:nix-community/NUR";

    nix-index.url = "github:Mic92/nix-index-database";
  };

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