diff --git a/home/aly.nix b/home/aly.nix index 56e88ec..dd7c698 100644 --- a/home/aly.nix +++ b/home/aly.nix @@ -45,7 +45,8 @@ bashrcExtra = '' export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/go/bin" alias vim='nvim' - nrun() { nix shell nixpkgs#$1 -c "''${@:2}" ; } + nrun() { nix run nixpkgs#$1 -- "''${@:2}" ; } + nrunc() { nix shell nixpkgs#$1 -c "''${@:2}" ; } ''; }; home.stateVersion = "25.05"; diff --git a/system/aly-server.nix b/system/aly-server.nix index 9bdb353..64f426b 100644 --- a/system/aly-server.nix +++ b/system/aly-server.nix @@ -16,6 +16,7 @@ enable = true; systemCronJobs = [ "0 * * * * /mnt/storage/media/randomintro.sh" + "* * * * * sudo chown srv:media /mnt/storage/media/downloads -R; sudo chmod g+w /mnt/storage/media/downloads -R" ]; }; system.stateVersion = "25.05";