diff --git a/machines/photo01/_configuration.nix b/machines/photo01/_configuration.nix index 2333eaa..5faeb18 100644 --- a/machines/photo01/_configuration.nix +++ b/machines/photo01/_configuration.nix @@ -15,7 +15,6 @@ in deployment.targetHost = address; networking = { - hostName = "photoprism"; firewall.allowedTCPPorts = [ 22 80 diff --git a/machines/photo01/_hardware-configuration.nix b/machines/photo01/_hardware-configuration.nix index 6fd864e..e87eb0d 100644 --- a/machines/photo01/_hardware-configuration.nix +++ b/machines/photo01/_hardware-configuration.nix @@ -19,6 +19,16 @@ }; + fileSystems."/" = { + device = "/dev/disk/by-partlabel/disk-sda-root"; + fsType = "ext4"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-partlabel/disk-sda-ESP"; + fsType = "vfat"; + }; + networking.useDHCP = lib.mkDefault false; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; diff --git a/machines/photo01/secrets/secrets.nix b/machines/photo01/secrets/secrets.nix index 9be5034..4f61be6 100644 --- a/machines/photo01/secrets/secrets.nix +++ b/machines/photo01/secrets/secrets.nix @@ -1,4 +1,3 @@ (import ../../../keys).mkSecrets [ "photo01" ] [ # List of secrets for router02 ] -