added some more stuff
This commit is contained in:
parent
27bc6d99e0
commit
36a21d1257
8 changed files with 60 additions and 14 deletions
|
|
@ -54,6 +54,7 @@ in
|
|||
sops.defaultSopsFile = ../../secrets/sops.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.secrets.build-service = { };
|
||||
sops.secrets.fw-qemu = { };
|
||||
|
||||
environment.systemPackages = [ pkgs.cifs-utils ];
|
||||
|
||||
|
|
@ -99,6 +100,20 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/fw-qemu/C" = {
|
||||
device = "//10.0.2.4/qemu/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.fw-qemu.path},vers=3.0"
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.extraSpecialArgs = { inherit inputs pkgs; };
|
||||
home-manager.users.fw = {
|
||||
imports = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue