From e2946e4a1f55b02a366e90f16395edb7803bdc0d Mon Sep 17 00:00:00 2001 From: xunuwu Date: Fri, 6 Jun 2025 11:28:00 +0200 Subject: [PATCH] move some stuff into hosts/hostname/profiles --- hosts/hopper/default.nix | 8 ++++---- hosts/hopper/{ => profiles}/desktop.nix | 0 hosts/hopper/{ => profiles}/lab/acme.nix | 0 hosts/hopper/{ => profiles}/lab/audiobookshelf.nix | 0 hosts/hopper/{ => profiles}/lab/caddy.nix | 0 hosts/hopper/{ => profiles}/lab/default.nix | 0 hosts/hopper/{ => profiles}/lab/dnsmasq.nix | 0 hosts/hopper/{ => profiles}/lab/glances.nix | 0 hosts/hopper/{ => profiles}/lab/homepage.nix | 0 hosts/hopper/{ => profiles}/lab/minecraft.nix | 0 hosts/hopper/{ => profiles}/lab/navidrome/default.nix | 0 .../lab/navidrome/scrobbleAlbumArtist.patch | 0 hosts/hopper/{ => profiles}/lab/prometheus.nix | 0 hosts/hopper/{ => profiles}/lab/restic.nix | 0 hosts/hopper/{ => profiles}/lab/samba.nix | 0 hosts/hopper/{ => profiles}/lab/slskd.nix | 0 hosts/hopper/{ => profiles}/lab/transmission.nix | 0 hosts/hopper/{ => profiles}/lab/vaultwarden.nix | 0 hosts/hopper/{ => profiles}/lab/vpn-namespace.nix | 0 hosts/hopper/{ => profiles}/persistent.nix | 0 hosts/hopper/{ => profiles}/roblox-playtime.nix | 0 hosts/nixdesk/default.nix | 10 +++++----- hosts/nixdesk/{ => profiles}/autologin.nix | 0 hosts/nixdesk/{ => profiles}/hibernate-boot.nix | 0 hosts/nixdesk/{ => profiles}/restic-server.nix | 0 hosts/nixdesk/{ => profiles}/samba-mount.nix | 0 hosts/nixdesk/{ => profiles}/wireguard.nix | 0 hosts/rackserv/default.nix | 10 +++++----- hosts/rackserv/{disk-config.nix => disks.nix} | 0 hosts/rackserv/{ => profiles}/backups.nix | 0 hosts/rackserv/{ => profiles}/caddy.nix | 0 hosts/rackserv/{ => profiles}/fail2ban.nix | 0 hosts/rackserv/{ => profiles}/wireguard-server.nix | 0 33 files changed, 14 insertions(+), 14 deletions(-) rename hosts/hopper/{ => profiles}/desktop.nix (100%) rename hosts/hopper/{ => profiles}/lab/acme.nix (100%) rename hosts/hopper/{ => profiles}/lab/audiobookshelf.nix (100%) rename hosts/hopper/{ => profiles}/lab/caddy.nix (100%) rename hosts/hopper/{ => profiles}/lab/default.nix (100%) rename hosts/hopper/{ => profiles}/lab/dnsmasq.nix (100%) rename hosts/hopper/{ => profiles}/lab/glances.nix (100%) rename hosts/hopper/{ => profiles}/lab/homepage.nix (100%) rename hosts/hopper/{ => profiles}/lab/minecraft.nix (100%) rename hosts/hopper/{ => profiles}/lab/navidrome/default.nix (100%) rename hosts/hopper/{ => profiles}/lab/navidrome/scrobbleAlbumArtist.patch (100%) rename hosts/hopper/{ => profiles}/lab/prometheus.nix (100%) rename hosts/hopper/{ => profiles}/lab/restic.nix (100%) rename hosts/hopper/{ => profiles}/lab/samba.nix (100%) rename hosts/hopper/{ => profiles}/lab/slskd.nix (100%) rename hosts/hopper/{ => profiles}/lab/transmission.nix (100%) rename hosts/hopper/{ => profiles}/lab/vaultwarden.nix (100%) rename hosts/hopper/{ => profiles}/lab/vpn-namespace.nix (100%) rename hosts/hopper/{ => profiles}/persistent.nix (100%) rename hosts/hopper/{ => profiles}/roblox-playtime.nix (100%) rename hosts/nixdesk/{ => profiles}/autologin.nix (100%) rename hosts/nixdesk/{ => profiles}/hibernate-boot.nix (100%) rename hosts/nixdesk/{ => profiles}/restic-server.nix (100%) rename hosts/nixdesk/{ => profiles}/samba-mount.nix (100%) rename hosts/nixdesk/{ => profiles}/wireguard.nix (100%) rename hosts/rackserv/{disk-config.nix => disks.nix} (100%) rename hosts/rackserv/{ => profiles}/backups.nix (100%) rename hosts/rackserv/{ => profiles}/caddy.nix (100%) rename hosts/rackserv/{ => profiles}/fail2ban.nix (100%) rename hosts/rackserv/{ => profiles}/wireguard-server.nix (100%) diff --git a/hosts/hopper/default.nix b/hosts/hopper/default.nix index 5189e35..5828c18 100644 --- a/hosts/hopper/default.nix +++ b/hosts/hopper/default.nix @@ -13,10 +13,10 @@ inputs.impermanence.nixosModules.impermanence ./hardware.nix - ./lab - ./roblox-playtime.nix - ./desktop.nix - ./persistent.nix + ./profiles/lab + ./profiles/roblox-playtime.nix + ./profiles/desktop.nix + ./profiles/persistent.nix { home-manager = { diff --git a/hosts/hopper/desktop.nix b/hosts/hopper/profiles/desktop.nix similarity index 100% rename from hosts/hopper/desktop.nix rename to hosts/hopper/profiles/desktop.nix diff --git a/hosts/hopper/lab/acme.nix b/hosts/hopper/profiles/lab/acme.nix similarity index 100% rename from hosts/hopper/lab/acme.nix rename to hosts/hopper/profiles/lab/acme.nix diff --git a/hosts/hopper/lab/audiobookshelf.nix b/hosts/hopper/profiles/lab/audiobookshelf.nix similarity index 100% rename from hosts/hopper/lab/audiobookshelf.nix rename to hosts/hopper/profiles/lab/audiobookshelf.nix diff --git a/hosts/hopper/lab/caddy.nix b/hosts/hopper/profiles/lab/caddy.nix similarity index 100% rename from hosts/hopper/lab/caddy.nix rename to hosts/hopper/profiles/lab/caddy.nix diff --git a/hosts/hopper/lab/default.nix b/hosts/hopper/profiles/lab/default.nix similarity index 100% rename from hosts/hopper/lab/default.nix rename to hosts/hopper/profiles/lab/default.nix diff --git a/hosts/hopper/lab/dnsmasq.nix b/hosts/hopper/profiles/lab/dnsmasq.nix similarity index 100% rename from hosts/hopper/lab/dnsmasq.nix rename to hosts/hopper/profiles/lab/dnsmasq.nix diff --git a/hosts/hopper/lab/glances.nix b/hosts/hopper/profiles/lab/glances.nix similarity index 100% rename from hosts/hopper/lab/glances.nix rename to hosts/hopper/profiles/lab/glances.nix diff --git a/hosts/hopper/lab/homepage.nix b/hosts/hopper/profiles/lab/homepage.nix similarity index 100% rename from hosts/hopper/lab/homepage.nix rename to hosts/hopper/profiles/lab/homepage.nix diff --git a/hosts/hopper/lab/minecraft.nix b/hosts/hopper/profiles/lab/minecraft.nix similarity index 100% rename from hosts/hopper/lab/minecraft.nix rename to hosts/hopper/profiles/lab/minecraft.nix diff --git a/hosts/hopper/lab/navidrome/default.nix b/hosts/hopper/profiles/lab/navidrome/default.nix similarity index 100% rename from hosts/hopper/lab/navidrome/default.nix rename to hosts/hopper/profiles/lab/navidrome/default.nix diff --git a/hosts/hopper/lab/navidrome/scrobbleAlbumArtist.patch b/hosts/hopper/profiles/lab/navidrome/scrobbleAlbumArtist.patch similarity index 100% rename from hosts/hopper/lab/navidrome/scrobbleAlbumArtist.patch rename to hosts/hopper/profiles/lab/navidrome/scrobbleAlbumArtist.patch diff --git a/hosts/hopper/lab/prometheus.nix b/hosts/hopper/profiles/lab/prometheus.nix similarity index 100% rename from hosts/hopper/lab/prometheus.nix rename to hosts/hopper/profiles/lab/prometheus.nix diff --git a/hosts/hopper/lab/restic.nix b/hosts/hopper/profiles/lab/restic.nix similarity index 100% rename from hosts/hopper/lab/restic.nix rename to hosts/hopper/profiles/lab/restic.nix diff --git a/hosts/hopper/lab/samba.nix b/hosts/hopper/profiles/lab/samba.nix similarity index 100% rename from hosts/hopper/lab/samba.nix rename to hosts/hopper/profiles/lab/samba.nix diff --git a/hosts/hopper/lab/slskd.nix b/hosts/hopper/profiles/lab/slskd.nix similarity index 100% rename from hosts/hopper/lab/slskd.nix rename to hosts/hopper/profiles/lab/slskd.nix diff --git a/hosts/hopper/lab/transmission.nix b/hosts/hopper/profiles/lab/transmission.nix similarity index 100% rename from hosts/hopper/lab/transmission.nix rename to hosts/hopper/profiles/lab/transmission.nix diff --git a/hosts/hopper/lab/vaultwarden.nix b/hosts/hopper/profiles/lab/vaultwarden.nix similarity index 100% rename from hosts/hopper/lab/vaultwarden.nix rename to hosts/hopper/profiles/lab/vaultwarden.nix diff --git a/hosts/hopper/lab/vpn-namespace.nix b/hosts/hopper/profiles/lab/vpn-namespace.nix similarity index 100% rename from hosts/hopper/lab/vpn-namespace.nix rename to hosts/hopper/profiles/lab/vpn-namespace.nix diff --git a/hosts/hopper/persistent.nix b/hosts/hopper/profiles/persistent.nix similarity index 100% rename from hosts/hopper/persistent.nix rename to hosts/hopper/profiles/persistent.nix diff --git a/hosts/hopper/roblox-playtime.nix b/hosts/hopper/profiles/roblox-playtime.nix similarity index 100% rename from hosts/hopper/roblox-playtime.nix rename to hosts/hopper/profiles/roblox-playtime.nix diff --git a/hosts/nixdesk/default.nix b/hosts/nixdesk/default.nix index 7cdb72b..b2607c5 100644 --- a/hosts/nixdesk/default.nix +++ b/hosts/nixdesk/default.nix @@ -10,11 +10,11 @@ imports = [ ./hardware.nix - ./hibernate-boot.nix - ./samba-mount.nix - ./wireguard.nix - ./restic-server.nix - ./autologin.nix + ./profiles/hibernate-boot.nix + ./profiles/samba-mount.nix + ./profiles/wireguard.nix + ./profiles/restic-server.nix + ./profiles/autologin.nix inputs.impermanence.nixosModules.impermanence inputs.stylix.nixosModules.stylix diff --git a/hosts/nixdesk/autologin.nix b/hosts/nixdesk/profiles/autologin.nix similarity index 100% rename from hosts/nixdesk/autologin.nix rename to hosts/nixdesk/profiles/autologin.nix diff --git a/hosts/nixdesk/hibernate-boot.nix b/hosts/nixdesk/profiles/hibernate-boot.nix similarity index 100% rename from hosts/nixdesk/hibernate-boot.nix rename to hosts/nixdesk/profiles/hibernate-boot.nix diff --git a/hosts/nixdesk/restic-server.nix b/hosts/nixdesk/profiles/restic-server.nix similarity index 100% rename from hosts/nixdesk/restic-server.nix rename to hosts/nixdesk/profiles/restic-server.nix diff --git a/hosts/nixdesk/samba-mount.nix b/hosts/nixdesk/profiles/samba-mount.nix similarity index 100% rename from hosts/nixdesk/samba-mount.nix rename to hosts/nixdesk/profiles/samba-mount.nix diff --git a/hosts/nixdesk/wireguard.nix b/hosts/nixdesk/profiles/wireguard.nix similarity index 100% rename from hosts/nixdesk/wireguard.nix rename to hosts/nixdesk/profiles/wireguard.nix diff --git a/hosts/rackserv/default.nix b/hosts/rackserv/default.nix index aa3c095..25c21c2 100644 --- a/hosts/rackserv/default.nix +++ b/hosts/rackserv/default.nix @@ -8,11 +8,11 @@ "${inputs.nixpkgs}/nixos/modules/profiles/qemu-guest.nix" inputs.impermanence.nixosModules.impermanence inputs.disko.nixosModules.disko - ./disk-config.nix - ./fail2ban.nix - ./wireguard-server.nix - ./backups.nix - ./caddy.nix + ./disks.nix + ./profiles/fail2ban.nix + ./profiles/wireguard-server.nix + ./profiles/backups.nix + ./profiles/caddy.nix ] ++ (map (x: systemProfiles + x) [ /core/security.nix diff --git a/hosts/rackserv/disk-config.nix b/hosts/rackserv/disks.nix similarity index 100% rename from hosts/rackserv/disk-config.nix rename to hosts/rackserv/disks.nix diff --git a/hosts/rackserv/backups.nix b/hosts/rackserv/profiles/backups.nix similarity index 100% rename from hosts/rackserv/backups.nix rename to hosts/rackserv/profiles/backups.nix diff --git a/hosts/rackserv/caddy.nix b/hosts/rackserv/profiles/caddy.nix similarity index 100% rename from hosts/rackserv/caddy.nix rename to hosts/rackserv/profiles/caddy.nix diff --git a/hosts/rackserv/fail2ban.nix b/hosts/rackserv/profiles/fail2ban.nix similarity index 100% rename from hosts/rackserv/fail2ban.nix rename to hosts/rackserv/profiles/fail2ban.nix diff --git a/hosts/rackserv/wireguard-server.nix b/hosts/rackserv/profiles/wireguard-server.nix similarity index 100% rename from hosts/rackserv/wireguard-server.nix rename to hosts/rackserv/profiles/wireguard-server.nix