commented filesystem test for now
This commit is contained in:
parent
7685f865f8
commit
def10c3649
1 changed files with 21 additions and 21 deletions
|
@ -62,30 +62,30 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops = {
|
# sops = {
|
||||||
age.keyFile = "/home/emenel/.config/sops/age/keys.txt"; # must have no password!
|
# age.keyFile = "/home/emenel/.config/sops/age/keys.txt"; # must have no password!
|
||||||
defaultSopsFile = ./secrets.yaml;
|
# defaultSopsFile = ./secrets.yaml;
|
||||||
secrets = {
|
# secrets = {
|
||||||
filez = {};
|
# filez = {};
|
||||||
};
|
# };
|
||||||
templates."smb-secrets".content = ''
|
# templates."smb-secrets".content = ''
|
||||||
username=admin
|
# username=admin
|
||||||
password=${config.sops.placeholder.filez}
|
# password=${config.sops.placeholder.filez}
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
|
||||||
environment.etc = {
|
# environment.etc = {
|
||||||
"nixos/smb-secrets".source = config.sops.templates."smb-secrets".path;
|
# "nixos/smb-secrets".source = config.sops.templates."smb-secrets".path;
|
||||||
};
|
# };
|
||||||
|
|
||||||
fileSystems."/mnt/media" = {
|
# fileSystems."/mnt/media" = {
|
||||||
device = "//100.70.114.113";
|
# device = "//100.70.114.113";
|
||||||
fsType = "cifs";
|
# fsType = "cifs";
|
||||||
options = let
|
# options = let
|
||||||
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
# 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"];
|
# in ["${automount_opts},credentials=/etc/nixos/smb-secrets"];
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue