sambashare enable at home
This commit is contained in:
parent
a7c02a0079
commit
8de6f4b686
2 changed files with 9 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
./home-assistant.nix
|
./home-assistant.nix
|
||||||
#./kodi.nix
|
./kodi.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./tinc.nix
|
./tinc.nix
|
||||||
./wifi-access-point.nix
|
./wifi-access-point.nix
|
||||||
|
@ -27,13 +27,15 @@
|
||||||
|
|
||||||
# networking
|
# networking
|
||||||
# ----------
|
# ----------
|
||||||
system.custom.wifi = {
|
#system.custom.wifi = {
|
||||||
enable = false;
|
#enable = false;
|
||||||
interfaces = [ "wlp3s0" ];
|
#interfaces = [ "wlp3s0" ];
|
||||||
configurationFile = <secrets/wpa_supplicant>;
|
#configurationFile = <secrets/wpa_supplicant>;
|
||||||
};
|
#};
|
||||||
|
|
||||||
# just enable lan
|
# just enable lan
|
||||||
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
networking.dhcpcd.allowInterfaces = [ "enp0s25" ];
|
||||||
|
|
||||||
# nix-shell -p speedtest_cli --run speedtest
|
# nix-shell -p speedtest_cli --run speedtest
|
||||||
configuration.fireqos = {
|
configuration.fireqos = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" ];
|
users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" ];
|
||||||
|
|
||||||
custom.samba-share = {
|
custom.samba-share = {
|
||||||
enable = false;
|
enable = true;
|
||||||
folders = {
|
folders = {
|
||||||
movies = config.test.services.syncthing.declarative.folders.movies.path;
|
movies = config.test.services.syncthing.declarative.folders.movies.path;
|
||||||
music =
|
music =
|
||||||
|
|
Loading…
Reference in a new issue