diff options
author | Emile <git@emile.space> | 2024-09-13 15:04:06 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-09-13 15:04:06 +0200 |
commit | 35d6c2c70824cf77ef2216889cc9730b622f5ac1 (patch) | |
tree | 2435a97f87409deb57c279fb41534e0d10c901ca /flake.nix | |
parent | 902c97cf9aa16c5bb4a45b28f182e4d6033156e7 (diff) |
big push
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix index 411bf42..0b48f3f 100644 --- a/flake.nix +++ b/flake.nix @@ -123,14 +123,13 @@ darwinConfigurations = helper.mapToDarwinConfigurations self.hosts; nixosModules = { - emile = import ./nix/modules; - default = self.nixosModules.emile; + x86_64-linux = import ./nix/modules/x86_64-linux.nix; + default = self.nixosModules.x86_64-linux; }; overlays = { emile = import ./nix/pkgs/overlay.nix; - default = self.overlays.emile; - + default = self.overlays.x86_64-linux; unstable = final: prev: { unstable = import nixpkgs-unstable { system = "x86_64-linux"; @@ -148,7 +147,11 @@ pkgs = import nixpkgs { inherit system; overlays = [ - self.overlays.emile + + (if system == "x86_64-linux" then self.overlays.x86_64-linux + else if system == "aarch64-darwin" then self.overlays.aarch64-darwin + else null) + # self.overlays.emile # some arguments for packages (_: _: { inherit naersk; }) |