From 35d6c2c70824cf77ef2216889cc9730b622f5ac1 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 13 Sep 2024 15:04:06 +0200 Subject: big push --- flake.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'flake.nix') 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; }) -- cgit 1.4.1