diff --git a/flake.nix b/flake.nix index f18be15..1694ab1 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,6 @@ in { # Custom nixosModules - nixosModules.base = import ./modules/base; nixosModules.macos = import ./modules/macos; nixosModules.homebrew = import ./modules/homebrew; nixosModules.aerospace = import ./modules/aerospace; @@ -69,6 +68,17 @@ nixosConfigurations.dnsc-machine = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs outputs; }; + pkgs = import nixpkgs { + system = "x86_64-linux"; + overlays = [ + self.overlays.default + inputs.zellij-switch.overlays.default + ]; + config = { + allowUnfree = true; + allowUnsupportedSystem = true; + }; + }; modules = [ ./hosts/dnsc-machine ]; diff --git a/hosts/dnsc-machine/default.nix b/hosts/dnsc-machine/default.nix index 7c5adf7..c876bf5 100644 --- a/hosts/dnsc-machine/default.nix +++ b/hosts/dnsc-machine/default.nix @@ -24,14 +24,6 @@ outputs.nixosModules.steam ]; - # Device specific overlays - # Overlays for all devices are defined - # in flake.nix - nixpkgs.overlays = [ - outputs.self.overlays.default - inputs.zellij-switch.overlays.default - ]; - # General settings networking.hostName = "dnsc-machine"; time.timeZone = "Europe/Berlin";