From a1d243881b9baa527e29affa4b300cbbb276ec3a Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 18 Jul 2024 22:03:05 +0530 Subject: [PATCH] rico1: extract out caddy and frp config --- hosts/rico1/services/default.nix | 8 +++----- hosts/{rico1/services => shared}/caddy.nix | 0 hosts/{rico1/services => shared}/frp.nix | 0 3 files changed, 3 insertions(+), 5 deletions(-) rename hosts/{rico1/services => shared}/caddy.nix (100%) rename hosts/{rico1/services => shared}/frp.nix (100%) diff --git a/hosts/rico1/services/default.nix b/hosts/rico1/services/default.nix index 8e49d3b..c03bd30 100644 --- a/hosts/rico1/services/default.nix +++ b/hosts/rico1/services/default.nix @@ -1,11 +1,9 @@ _: { imports = [ + ./apps ./btrfs.nix ./ssh.nix - - ./caddy.nix - ./frp.nix - - ./apps + ../../shared/caddy.nix + ../../shared/frp.nix ]; } diff --git a/hosts/rico1/services/caddy.nix b/hosts/shared/caddy.nix similarity index 100% rename from hosts/rico1/services/caddy.nix rename to hosts/shared/caddy.nix diff --git a/hosts/rico1/services/frp.nix b/hosts/shared/frp.nix similarity index 100% rename from hosts/rico1/services/frp.nix rename to hosts/shared/frp.nix