forked from DGNum/lab-infra
feat(photo01): secrets and disk config
This commit is contained in:
parent
375eae9f4d
commit
055fdb9fcf
3 changed files with 10 additions and 2 deletions
|
@ -15,7 +15,6 @@ in
|
||||||
deployment.targetHost = address;
|
deployment.targetHost = address;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "photoprism";
|
|
||||||
firewall.allowedTCPPorts = [
|
firewall.allowedTCPPorts = [
|
||||||
22
|
22
|
||||||
80
|
80
|
||||||
|
|
|
@ -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;
|
networking.useDHCP = lib.mkDefault false;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
(import ../../../keys).mkSecrets [ "photo01" ] [
|
(import ../../../keys).mkSecrets [ "photo01" ] [
|
||||||
# List of secrets for router02
|
# List of secrets for router02
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue