added sturfff
This commit is contained in:
parent
0b8167a31d
commit
a37f81751e
7 changed files with 122 additions and 20 deletions
|
|
@ -54,7 +54,18 @@ in
|
|||
sops.defaultSopsFile = ../../secrets/sops.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.secrets.build-service = { };
|
||||
sops.secrets.fredrik-wastring = { };
|
||||
sops.secrets.fw-qemu = { };
|
||||
sops.secrets.github_token = {
|
||||
owner = "fw";
|
||||
group = "users";
|
||||
mode = "0400";
|
||||
};
|
||||
sops.secrets.grafana_token = {
|
||||
owner = "fw";
|
||||
group = "users";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.cifs-utils ];
|
||||
|
||||
|
|
@ -100,6 +111,34 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/hyperv2/C" = {
|
||||
device = "//192.168.0.48/C$";
|
||||
fsType = "cifs";
|
||||
options =
|
||||
let
|
||||
automount_opts =
|
||||
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
in
|
||||
[
|
||||
"${automount_opts},credentials=${toString config.sops.secrets.fredrik-wastring.path},vers=3.0"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/hyperv1/C" = {
|
||||
device = "//192.168.0.143/C$";
|
||||
fsType = "cifs";
|
||||
options =
|
||||
let
|
||||
automount_opts =
|
||||
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
in
|
||||
[
|
||||
"${automount_opts},credentials=${toString config.sops.secrets.fredrik-wastring.path},vers=3.0"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/fw-qemu/C" = {
|
||||
device = "//10.0.2.4/qemu/C$";
|
||||
fsType = "cifs";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue