small improvements
This commit is contained in:
parent
836f05e7ea
commit
6280bde043
15
flake.nix
15
flake.nix
|
@ -13,19 +13,19 @@
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Other community flakes
|
# Extra community flakes
|
||||||
# Add any cool flakes you need
|
# Add any cool flakes you need
|
||||||
# nur.url = "github:nix-community/NUR";
|
# nur.url = "github:nix-community/NUR"; # User contributed pkgs and modules
|
||||||
# impermanence.url = "github:riscadoa/impermanence";
|
# impermanence.url = "github:riscadoa/impermanence"; # Utilities for opt-in persistance
|
||||||
# nix-colors.url = "github:misterio77/nix-colors";
|
# nix-colors.url = "github:misterio77/nix-colors"; # Color schemes for usage with home-manager
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, utils, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, utils, ... }@inputs: {
|
||||||
# Overlayed packages
|
# Overlayed packages
|
||||||
overlay = (import ./overlays.nix);
|
overlay = (import ./overlays.nix);
|
||||||
|
|
||||||
# This repos plus any other overlays you use
|
# This repo's overlay plus any other overlays you use
|
||||||
# If you want to use out-of-nixpkgs-tree packages, add their overlays here.
|
# If you want to use packages from flakes that are not nixpkgs, add their overlays here.
|
||||||
overlays = [ self.overlay nur.overlay ];
|
overlays = [ self.overlay nur.overlay ];
|
||||||
|
|
||||||
# System configurations
|
# System configurations
|
||||||
|
@ -52,7 +52,8 @@
|
||||||
extraModules = [{ nixpkgs.overlays = self.overlays; }];
|
extraModules = [{ nixpkgs.overlays = self.overlays; }];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} // utils.lib.eachDefaultSystem (system:
|
}
|
||||||
|
// utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; overlays = self.overlays; };
|
pkgs = import nixpkgs { inherit system; overlays = self.overlays; };
|
||||||
hm = home-manager.defaultPackage."${system}";
|
hm = home-manager.defaultPackage."${system}";
|
||||||
|
|
Loading…
Reference in a new issue