42 lines
		
	
	
		
			936 B
		
	
	
	
		
			Nix
		
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			936 B
		
	
	
	
		
			Nix
		
	
	
{
 | 
						|
  inputs = {
 | 
						|
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 | 
						|
    home-manager = {
 | 
						|
      url = "github:nix-community/home-manager";
 | 
						|
      inputs.nixpkgs.follows = "nixpkgs";
 | 
						|
    };
 | 
						|
    nixgl.url = "github:nix-community/nixGL";
 | 
						|
    firefox-addons = {
 | 
						|
      url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
 | 
						|
      inputs.nixpkgs.follows = "nixpkgs";
 | 
						|
    };
 | 
						|
  };
 | 
						|
  outputs =
 | 
						|
    {
 | 
						|
      nixpkgs,
 | 
						|
      home-manager,
 | 
						|
      nixgl,
 | 
						|
      ...
 | 
						|
    }@inputs:
 | 
						|
    let
 | 
						|
      lib = nixpkgs.lib;
 | 
						|
      system = "x86_64-linux";
 | 
						|
      pkgs = import nixpkgs {
 | 
						|
        inherit system;
 | 
						|
        overlays = [ nixgl.overlay ];
 | 
						|
        config.allowUnfree = true;
 | 
						|
      };
 | 
						|
    in
 | 
						|
    {
 | 
						|
      homeConfigurations = {
 | 
						|
        work = home-manager.lib.homeManagerConfiguration {
 | 
						|
          inherit pkgs;
 | 
						|
          extraSpecialArgs = {
 | 
						|
            inherit inputs;
 | 
						|
          };
 | 
						|
          modules = [ ./hosts/work ];
 | 
						|
        };
 | 
						|
      };
 | 
						|
    };
 | 
						|
}
 |