From 8fe96150e526a4c1a2fea3039bf3a321132835f8 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 1 Mar 2023 05:36:39 -0500 Subject: [PATCH] chore: probably a better way of handling this --- hosts/common/default.nix | 9 +++++++++ hosts/hime/default.nix | 3 +-- hosts/sutakku/default.nix | 3 +-- hosts/tsuki/default.nix | 3 +-- 4 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 hosts/common/default.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix new file mode 100644 index 0000000..7efd5f5 --- /dev/null +++ b/hosts/common/default.nix @@ -0,0 +1,9 @@ +{ + default, + ... +}: { + imports = [ + ./tailscale.nix + ./security.nix + ]; +} \ No newline at end of file diff --git a/hosts/hime/default.nix b/hosts/hime/default.nix index f6e64c7..3305f0a 100644 --- a/hosts/hime/default.nix +++ b/hosts/hime/default.nix @@ -4,8 +4,7 @@ imports = [ ./hardware-configuration.nix - ../common/tailscale.nix - ../common/security.nix + ../common ]; boot.loader = { diff --git a/hosts/sutakku/default.nix b/hosts/sutakku/default.nix index c1a9942..9afca46 100644 --- a/hosts/sutakku/default.nix +++ b/hosts/sutakku/default.nix @@ -4,8 +4,7 @@ imports = [ ./hardware-configuration.nix - ../common/tailscale.nix - ../common/security.nix + ../common ]; boot.loader = { diff --git a/hosts/tsuki/default.nix b/hosts/tsuki/default.nix index c575702..b9a4aa5 100755 --- a/hosts/tsuki/default.nix +++ b/hosts/tsuki/default.nix @@ -5,8 +5,7 @@ [ ./hardware-configuration.nix ../../modules/home/wayland - ../common/security.nix - ../common/tailscale.nix + ../common ]; # bootloader