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