From 7c247098cb57b0d8f602815204ee9255af188d07 Mon Sep 17 00:00:00 2001 From: nydragon Date: Wed, 5 Feb 2025 16:56:30 +0100 Subject: [PATCH] chore: shuffle forgejo files in raptus around --- hosts/raptus/default.nix | 3 +-- hosts/raptus/{forgejo.nix => forgejo/default.nix} | 4 ++++ hosts/raptus/{forgejo-runner.nix => forgejo/runner.nix} | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename hosts/raptus/{forgejo.nix => forgejo/default.nix} (98%) rename hosts/raptus/{forgejo-runner.nix => forgejo/runner.nix} (100%) diff --git a/hosts/raptus/default.nix b/hosts/raptus/default.nix index 167008e..20d7beb 100644 --- a/hosts/raptus/default.nix +++ b/hosts/raptus/default.nix @@ -13,8 +13,7 @@ in imports = [ (modulesPath + "/profiles/qemu-guest.nix") ./disk-config.nix - ./forgejo.nix - ./forgejo-runner.nix + ./forgejo ./headscale ./fail2ban.nix ]; diff --git a/hosts/raptus/forgejo.nix b/hosts/raptus/forgejo/default.nix similarity index 98% rename from hosts/raptus/forgejo.nix rename to hosts/raptus/forgejo/default.nix index 0d11275..5ecb920 100644 --- a/hosts/raptus/forgejo.nix +++ b/hosts/raptus/forgejo/default.nix @@ -4,6 +4,10 @@ let sshPort = 2222; in { + imports = [ + ./runner.nix + ]; + systemd.tmpfiles.rules = let # Disallow crawlers from indexing this site. diff --git a/hosts/raptus/forgejo-runner.nix b/hosts/raptus/forgejo/runner.nix similarity index 100% rename from hosts/raptus/forgejo-runner.nix rename to hosts/raptus/forgejo/runner.nix