From 9c9a3d543cec7fe2feb4a22771647afed41ab42d Mon Sep 17 00:00:00 2001 From: xunuwu Date: Fri, 6 Jun 2025 11:22:15 +0200 Subject: [PATCH] /sys/machines -> /hosts --- flake.nix | 4 ++-- {sys/machines => hosts}/hopper/default.nix | 0 {sys/machines => hosts}/hopper/desktop.nix | 0 {sys/machines => hosts}/hopper/hardware.nix | 0 {sys/machines => hosts}/hopper/home.nix | 0 {sys/machines => hosts}/hopper/lab/acme.nix | 0 {sys/machines => hosts}/hopper/lab/audiobookshelf.nix | 0 {sys/machines => hosts}/hopper/lab/caddy.nix | 0 {sys/machines => hosts}/hopper/lab/default.nix | 0 {sys/machines => hosts}/hopper/lab/dnsmasq.nix | 0 {sys/machines => hosts}/hopper/lab/glances.nix | 0 {sys/machines => hosts}/hopper/lab/homepage.nix | 0 {sys/machines => hosts}/hopper/lab/minecraft.nix | 0 {sys/machines => hosts}/hopper/lab/navidrome/default.nix | 0 .../hopper/lab/navidrome/scrobbleAlbumArtist.patch | 0 {sys/machines => hosts}/hopper/lab/prometheus.nix | 0 {sys/machines => hosts}/hopper/lab/restic.nix | 0 {sys/machines => hosts}/hopper/lab/samba.nix | 0 {sys/machines => hosts}/hopper/lab/slskd.nix | 0 {sys/machines => hosts}/hopper/lab/transmission.nix | 0 {sys/machines => hosts}/hopper/lab/vaultwarden.nix | 0 {sys/machines => hosts}/hopper/lab/vpn-namespace.nix | 0 {sys/machines => hosts}/hopper/persistent.nix | 0 {sys/machines => hosts}/hopper/roblox-playtime.nix | 0 {sys/machines => hosts}/nixdesk/autologin.nix | 0 {sys/machines => hosts}/nixdesk/default.nix | 0 {sys/machines => hosts}/nixdesk/hardware.nix | 0 {sys/machines => hosts}/nixdesk/hibernate-boot.nix | 0 {sys/machines => hosts}/nixdesk/home.nix | 0 {sys/machines => hosts}/nixdesk/restic-server.nix | 0 {sys/machines => hosts}/nixdesk/samba-mount.nix | 0 {sys/machines => hosts}/nixdesk/wireguard.nix | 0 {sys/machines => hosts}/rackserv/backups.nix | 0 {sys/machines => hosts}/rackserv/caddy.nix | 0 {sys/machines => hosts}/rackserv/default.nix | 0 {sys/machines => hosts}/rackserv/disk-config.nix | 0 {sys/machines => hosts}/rackserv/fail2ban.nix | 0 {sys/machines => hosts}/rackserv/wireguard-server.nix | 0 38 files changed, 2 insertions(+), 2 deletions(-) rename {sys/machines => hosts}/hopper/default.nix (100%) rename {sys/machines => hosts}/hopper/desktop.nix (100%) rename {sys/machines => hosts}/hopper/hardware.nix (100%) rename {sys/machines => hosts}/hopper/home.nix (100%) rename {sys/machines => hosts}/hopper/lab/acme.nix (100%) rename {sys/machines => hosts}/hopper/lab/audiobookshelf.nix (100%) rename {sys/machines => hosts}/hopper/lab/caddy.nix (100%) rename {sys/machines => hosts}/hopper/lab/default.nix (100%) rename {sys/machines => hosts}/hopper/lab/dnsmasq.nix (100%) rename {sys/machines => hosts}/hopper/lab/glances.nix (100%) rename {sys/machines => hosts}/hopper/lab/homepage.nix (100%) rename {sys/machines => hosts}/hopper/lab/minecraft.nix (100%) rename {sys/machines => hosts}/hopper/lab/navidrome/default.nix (100%) rename {sys/machines => hosts}/hopper/lab/navidrome/scrobbleAlbumArtist.patch (100%) rename {sys/machines => hosts}/hopper/lab/prometheus.nix (100%) rename {sys/machines => hosts}/hopper/lab/restic.nix (100%) rename {sys/machines => hosts}/hopper/lab/samba.nix (100%) rename {sys/machines => hosts}/hopper/lab/slskd.nix (100%) rename {sys/machines => hosts}/hopper/lab/transmission.nix (100%) rename {sys/machines => hosts}/hopper/lab/vaultwarden.nix (100%) rename {sys/machines => hosts}/hopper/lab/vpn-namespace.nix (100%) rename {sys/machines => hosts}/hopper/persistent.nix (100%) rename {sys/machines => hosts}/hopper/roblox-playtime.nix (100%) rename {sys/machines => hosts}/nixdesk/autologin.nix (100%) rename {sys/machines => hosts}/nixdesk/default.nix (100%) rename {sys/machines => hosts}/nixdesk/hardware.nix (100%) rename {sys/machines => hosts}/nixdesk/hibernate-boot.nix (100%) rename {sys/machines => hosts}/nixdesk/home.nix (100%) rename {sys/machines => hosts}/nixdesk/restic-server.nix (100%) rename {sys/machines => hosts}/nixdesk/samba-mount.nix (100%) rename {sys/machines => hosts}/nixdesk/wireguard.nix (100%) rename {sys/machines => hosts}/rackserv/backups.nix (100%) rename {sys/machines => hosts}/rackserv/caddy.nix (100%) rename {sys/machines => hosts}/rackserv/default.nix (100%) rename {sys/machines => hosts}/rackserv/disk-config.nix (100%) rename {sys/machines => hosts}/rackserv/fail2ban.nix (100%) rename {sys/machines => hosts}/rackserv/wireguard-server.nix (100%) diff --git a/flake.nix b/flake.nix index a2660f1..53eff15 100644 --- a/flake.nix +++ b/flake.nix @@ -15,11 +15,11 @@ systems = ["x86_64-linux"]; flake.nixosConfigurations = - b.readDir ./sys/machines + b.readDir ./hosts |> b.mapAttrs (hostname: _: l.nixosSystem { modules = [ - ./sys/machines/${hostname} + ./hosts/${hostname} ./secrets/${hostname} inputs.sops-nix.nixosModules.sops ]; diff --git a/sys/machines/hopper/default.nix b/hosts/hopper/default.nix similarity index 100% rename from sys/machines/hopper/default.nix rename to hosts/hopper/default.nix diff --git a/sys/machines/hopper/desktop.nix b/hosts/hopper/desktop.nix similarity index 100% rename from sys/machines/hopper/desktop.nix rename to hosts/hopper/desktop.nix diff --git a/sys/machines/hopper/hardware.nix b/hosts/hopper/hardware.nix similarity index 100% rename from sys/machines/hopper/hardware.nix rename to hosts/hopper/hardware.nix diff --git a/sys/machines/hopper/home.nix b/hosts/hopper/home.nix similarity index 100% rename from sys/machines/hopper/home.nix rename to hosts/hopper/home.nix diff --git a/sys/machines/hopper/lab/acme.nix b/hosts/hopper/lab/acme.nix similarity index 100% rename from sys/machines/hopper/lab/acme.nix rename to hosts/hopper/lab/acme.nix diff --git a/sys/machines/hopper/lab/audiobookshelf.nix b/hosts/hopper/lab/audiobookshelf.nix similarity index 100% rename from sys/machines/hopper/lab/audiobookshelf.nix rename to hosts/hopper/lab/audiobookshelf.nix diff --git a/sys/machines/hopper/lab/caddy.nix b/hosts/hopper/lab/caddy.nix similarity index 100% rename from sys/machines/hopper/lab/caddy.nix rename to hosts/hopper/lab/caddy.nix diff --git a/sys/machines/hopper/lab/default.nix b/hosts/hopper/lab/default.nix similarity index 100% rename from sys/machines/hopper/lab/default.nix rename to hosts/hopper/lab/default.nix diff --git a/sys/machines/hopper/lab/dnsmasq.nix b/hosts/hopper/lab/dnsmasq.nix similarity index 100% rename from sys/machines/hopper/lab/dnsmasq.nix rename to hosts/hopper/lab/dnsmasq.nix diff --git a/sys/machines/hopper/lab/glances.nix b/hosts/hopper/lab/glances.nix similarity index 100% rename from sys/machines/hopper/lab/glances.nix rename to hosts/hopper/lab/glances.nix diff --git a/sys/machines/hopper/lab/homepage.nix b/hosts/hopper/lab/homepage.nix similarity index 100% rename from sys/machines/hopper/lab/homepage.nix rename to hosts/hopper/lab/homepage.nix diff --git a/sys/machines/hopper/lab/minecraft.nix b/hosts/hopper/lab/minecraft.nix similarity index 100% rename from sys/machines/hopper/lab/minecraft.nix rename to hosts/hopper/lab/minecraft.nix diff --git a/sys/machines/hopper/lab/navidrome/default.nix b/hosts/hopper/lab/navidrome/default.nix similarity index 100% rename from sys/machines/hopper/lab/navidrome/default.nix rename to hosts/hopper/lab/navidrome/default.nix diff --git a/sys/machines/hopper/lab/navidrome/scrobbleAlbumArtist.patch b/hosts/hopper/lab/navidrome/scrobbleAlbumArtist.patch similarity index 100% rename from sys/machines/hopper/lab/navidrome/scrobbleAlbumArtist.patch rename to hosts/hopper/lab/navidrome/scrobbleAlbumArtist.patch diff --git a/sys/machines/hopper/lab/prometheus.nix b/hosts/hopper/lab/prometheus.nix similarity index 100% rename from sys/machines/hopper/lab/prometheus.nix rename to hosts/hopper/lab/prometheus.nix diff --git a/sys/machines/hopper/lab/restic.nix b/hosts/hopper/lab/restic.nix similarity index 100% rename from sys/machines/hopper/lab/restic.nix rename to hosts/hopper/lab/restic.nix diff --git a/sys/machines/hopper/lab/samba.nix b/hosts/hopper/lab/samba.nix similarity index 100% rename from sys/machines/hopper/lab/samba.nix rename to hosts/hopper/lab/samba.nix diff --git a/sys/machines/hopper/lab/slskd.nix b/hosts/hopper/lab/slskd.nix similarity index 100% rename from sys/machines/hopper/lab/slskd.nix rename to hosts/hopper/lab/slskd.nix diff --git a/sys/machines/hopper/lab/transmission.nix b/hosts/hopper/lab/transmission.nix similarity index 100% rename from sys/machines/hopper/lab/transmission.nix rename to hosts/hopper/lab/transmission.nix diff --git a/sys/machines/hopper/lab/vaultwarden.nix b/hosts/hopper/lab/vaultwarden.nix similarity index 100% rename from sys/machines/hopper/lab/vaultwarden.nix rename to hosts/hopper/lab/vaultwarden.nix diff --git a/sys/machines/hopper/lab/vpn-namespace.nix b/hosts/hopper/lab/vpn-namespace.nix similarity index 100% rename from sys/machines/hopper/lab/vpn-namespace.nix rename to hosts/hopper/lab/vpn-namespace.nix diff --git a/sys/machines/hopper/persistent.nix b/hosts/hopper/persistent.nix similarity index 100% rename from sys/machines/hopper/persistent.nix rename to hosts/hopper/persistent.nix diff --git a/sys/machines/hopper/roblox-playtime.nix b/hosts/hopper/roblox-playtime.nix similarity index 100% rename from sys/machines/hopper/roblox-playtime.nix rename to hosts/hopper/roblox-playtime.nix diff --git a/sys/machines/nixdesk/autologin.nix b/hosts/nixdesk/autologin.nix similarity index 100% rename from sys/machines/nixdesk/autologin.nix rename to hosts/nixdesk/autologin.nix diff --git a/sys/machines/nixdesk/default.nix b/hosts/nixdesk/default.nix similarity index 100% rename from sys/machines/nixdesk/default.nix rename to hosts/nixdesk/default.nix diff --git a/sys/machines/nixdesk/hardware.nix b/hosts/nixdesk/hardware.nix similarity index 100% rename from sys/machines/nixdesk/hardware.nix rename to hosts/nixdesk/hardware.nix diff --git a/sys/machines/nixdesk/hibernate-boot.nix b/hosts/nixdesk/hibernate-boot.nix similarity index 100% rename from sys/machines/nixdesk/hibernate-boot.nix rename to hosts/nixdesk/hibernate-boot.nix diff --git a/sys/machines/nixdesk/home.nix b/hosts/nixdesk/home.nix similarity index 100% rename from sys/machines/nixdesk/home.nix rename to hosts/nixdesk/home.nix diff --git a/sys/machines/nixdesk/restic-server.nix b/hosts/nixdesk/restic-server.nix similarity index 100% rename from sys/machines/nixdesk/restic-server.nix rename to hosts/nixdesk/restic-server.nix diff --git a/sys/machines/nixdesk/samba-mount.nix b/hosts/nixdesk/samba-mount.nix similarity index 100% rename from sys/machines/nixdesk/samba-mount.nix rename to hosts/nixdesk/samba-mount.nix diff --git a/sys/machines/nixdesk/wireguard.nix b/hosts/nixdesk/wireguard.nix similarity index 100% rename from sys/machines/nixdesk/wireguard.nix rename to hosts/nixdesk/wireguard.nix diff --git a/sys/machines/rackserv/backups.nix b/hosts/rackserv/backups.nix similarity index 100% rename from sys/machines/rackserv/backups.nix rename to hosts/rackserv/backups.nix diff --git a/sys/machines/rackserv/caddy.nix b/hosts/rackserv/caddy.nix similarity index 100% rename from sys/machines/rackserv/caddy.nix rename to hosts/rackserv/caddy.nix diff --git a/sys/machines/rackserv/default.nix b/hosts/rackserv/default.nix similarity index 100% rename from sys/machines/rackserv/default.nix rename to hosts/rackserv/default.nix diff --git a/sys/machines/rackserv/disk-config.nix b/hosts/rackserv/disk-config.nix similarity index 100% rename from sys/machines/rackserv/disk-config.nix rename to hosts/rackserv/disk-config.nix diff --git a/sys/machines/rackserv/fail2ban.nix b/hosts/rackserv/fail2ban.nix similarity index 100% rename from sys/machines/rackserv/fail2ban.nix rename to hosts/rackserv/fail2ban.nix diff --git a/sys/machines/rackserv/wireguard-server.nix b/hosts/rackserv/wireguard-server.nix similarity index 100% rename from sys/machines/rackserv/wireguard-server.nix rename to hosts/rackserv/wireguard-server.nix