From f10285de4d0b5c69d026e948a9d9d7278a2ffb64 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Tue, 11 Feb 2025 04:06:11 -0800 Subject: add resume --- nix/flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'nix/flake.nix') diff --git a/nix/flake.nix b/nix/flake.nix index bab8574..3c56a49 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -53,11 +53,6 @@ ]; }; }); - - pkgs = import nixpkgs { - inherit system; - overlays = [ nix-topology.overlays.default ]; - }; in { nixosConfigurations = builtins.listToAttrs (mkConfigs [ "affinity" @@ -67,7 +62,10 @@ ]); topology."${system}" = import nix-topology { - inherit pkgs; + pkgs = import nixpkgs { + inherit system; + overlays = [ nix-topology.overlays.default ]; + }; modules = [ ./topology/default.nix { nixosConfigurations = self.nixosConfigurations; } -- cgit