diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-03-19 16:56:48 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-03-19 16:56:48 -0600 |
| commit | 7793b7d8af601353e236252922abe84c5e9b79d0 (patch) | |
| tree | fddecadbe93657cf5a1f8049895d321ed5ca0ff3 /flake.nix | |
| parent | 1bf3639c5154701b264ca3f95b42c928dd11e345 (diff) | |
home: improve shenv infra
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -11,27 +11,22 @@ nur.url = "github:nix-community/NUR"; }; - outputs = { self, nixpkgs, home-manager, nur, ... }: let - pkgs = import nixpkgs { - system = "x86_64-linux"; - config = import ./nixpkgs.nix; - }; - in with pkgs.lib; let + outputs = { self, nixpkgs, home-manager, nur, ... }: with nixpkgs.lib; let util = import ./util; - inherit (util pkgs.lib) importAll; + inherit (util nixpkgs.lib) importAll; pkgSet = pkgs: import ./pkgs { inherit pkgs; util = util pkgs.lib; }; in { - packages."x86_64-linux" = pkgSet pkgs; + packages."x86_64-linux" = pkgSet nixpkgs.legacyPackages."x86_64-linux"; overlay = self: super: { local = pkgSet super; }; - nixosConfigurations = with pkgs.lib; let + nixosConfigurations = let hostConfig = host: (makeOverridable nixosSystem) { system = "x86_64-linux"; modules = [ (import ./sys self) host ]; |
