commented filesystem test for now

This commit is contained in:
Matt Nish-Lapidus 2025-02-11 21:37:26 -05:00
parent 7685f865f8
commit def10c3649

View file

@ -62,30 +62,30 @@
};
};
sops = {
age.keyFile = "/home/emenel/.config/sops/age/keys.txt"; # must have no password!
defaultSopsFile = ./secrets.yaml;
secrets = {
filez = {};
};
templates."smb-secrets".content = ''
username=admin
password=${config.sops.placeholder.filez}
'';
};
# sops = {
# age.keyFile = "/home/emenel/.config/sops/age/keys.txt"; # must have no password!
# defaultSopsFile = ./secrets.yaml;
# secrets = {
# filez = {};
# };
# templates."smb-secrets".content = ''
# username=admin
# password=${config.sops.placeholder.filez}
# '';
# };
environment.etc = {
"nixos/smb-secrets".source = config.sops.templates."smb-secrets".path;
};
# environment.etc = {
# "nixos/smb-secrets".source = config.sops.templates."smb-secrets".path;
# };
fileSystems."/mnt/media" = {
device = "//100.70.114.113";
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=/etc/nixos/smb-secrets"];
};
# fileSystems."/mnt/media" = {
# device = "//100.70.114.113";
# 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=/etc/nixos/smb-secrets"];
# };
environment.systemPackages = with pkgs; [