feat(photo01): secrets and disk config

This commit is contained in:
Constantin Gierczak--Galle 2024-11-21 19:08:49 +01:00
parent 375eae9f4d
commit 055fdb9fcf
No known key found for this signature in database
3 changed files with 10 additions and 2 deletions

View file

@ -15,7 +15,6 @@ in
deployment.targetHost = address;
networking = {
hostName = "photoprism";
firewall.allowedTCPPorts = [
22
80

View file

@ -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";

View file

@ -1,4 +1,3 @@
(import ../../../keys).mkSecrets [ "photo01" ] [
# List of secrets for router02
]