diff --git a/hosts/eddie/configuration.nix b/hosts/eddie/configuration.nix index e184399..ca25a23 100644 --- a/hosts/eddie/configuration.nix +++ b/hosts/eddie/configuration.nix @@ -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; [