From 8ca8816d717b11cf3a698d0f1519bf7c84a732ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 29 Aug 2023 14:15:45 +0200 Subject: [PATCH] new-clan: drop unused import code --- templates/new-clan/clan-flake-module.nix | 6 ------ templates/new-clan/imports.json | 1 - 2 files changed, 7 deletions(-) delete mode 100644 templates/new-clan/imports.json diff --git a/templates/new-clan/clan-flake-module.nix b/templates/new-clan/clan-flake-module.nix index 456a8022..9c862852 100644 --- a/templates/new-clan/clan-flake-module.nix +++ b/templates/new-clan/clan-flake-module.nix @@ -39,12 +39,6 @@ let in { - imports = - let - relPaths = builtins.fromJSON (builtins.readFile ./imports.json); - paths = map (path: ./. + path) relPaths; - in - paths; flake.nixosModules = machineModulesGenerated; # generate nixosConfigurations for all machines under self.nixosModules.machines-{machine_name} flake.nixosConfigurations = diff --git a/templates/new-clan/imports.json b/templates/new-clan/imports.json deleted file mode 100644 index fe51488c..00000000 --- a/templates/new-clan/imports.json +++ /dev/null @@ -1 +0,0 @@ -[]