diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/tahoe/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index b7f2087..81b8a87 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -31,6 +31,21 @@ }; }; + # create some directories and ensure proper ownership + system.activationScripts = { + base-dirs = { + text = '' + if [ ! -d /data/media/music ]; then + mkdir /data/media/music + chown -R fcuny:fcuny /data/media/music + fi + ''; + deps = [ ]; + }; + }; + + networking.firewall.enable = false; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave |