diff --git a/modules/nextcloud/default.nix b/modules/nextcloud/default.nix index fd23e67..27d9d7c 100644 --- a/modules/nextcloud/default.nix +++ b/modules/nextcloud/default.nix @@ -67,4 +67,7 @@ in ${pkgs.docker}/bin/docker network ls | ${pkgs.gnugrep}/bin/grep ${networkName} || ${pkgs.docker}/bin/docker network create ${networkName} ''; + environment.shellAliases = { + occ = ''${pkgs.docker}/bin/docker exec -u www-data nextcloud php occ''; + }; }