mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds smb share for violet
This commit is contained in:
parent
e785b697a5
commit
cd81467518
1 changed files with 12 additions and 1 deletions
|
|
@ -22,7 +22,8 @@
|
||||||
time.timeZone = "Europe/Amsterdam";
|
time.timeZone = "Europe/Amsterdam";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pkgs.kitty.terminfo
|
kitty.terminfo
|
||||||
|
cifs-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -62,4 +63,14 @@
|
||||||
]
|
]
|
||||||
++ [ pkgs.cpupower-gui ];
|
++ [ pkgs.cpupower-gui ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/nfs/violet" = {
|
||||||
|
device = "//172.16.10.130/spinners/violet"; # not ideal, should get the static IP from dandelion from a config attribute but whatever...
|
||||||
|
fsType = "cifs";
|
||||||
|
options = [
|
||||||
|
"x-systemd.automount"
|
||||||
|
"noauto"
|
||||||
|
"credentials=${config.sops.secrets.smbLoginDetails.path}"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue