From 566699f0b75200fc5a5482928bbf8a89e529f4b3 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 13 Jan 2023 00:10:56 +0000 Subject: [PATCH] fix: simplify --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index ad8aa53..2db6edf 100644 --- a/flake.nix +++ b/flake.nix @@ -36,10 +36,10 @@ # need to extract teh name of the machiene ${config.name} = ( # nixpkgs.lib.nixosSystem is a fucntion that is used to turn a attribute set into the config for a machiene - nixpkgs.lib.nixosSystem ( - # dont want to pass the field named 'name' into teh set - nixpkgs.lib.attrsets.filterAttrs (n: v: n != "name") config - ) + nixpkgs.lib.nixosSystem { + system = config.system; + modules = modules.system; + } ); } );