mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
cloud broken
This commit is contained in:
parent
1a3cc00701
commit
09d50dd2c0
3 changed files with 1499 additions and 0 deletions
|
|
@ -88,6 +88,19 @@ in
|
|||
phpOptions = lib.mkForce { "memory_limit" = "2G"; };
|
||||
};
|
||||
|
||||
# --- Attempt to neutralize setup/update services ---
|
||||
# This tells systemd that these services should not be started as dependencies by anything.
|
||||
# And if they are somehow started, they will just run `/bin/true` which does nothing and exits successfully.
|
||||
systemd.services."nextcloud-setup.service" = {
|
||||
wantedBy = lib.mkForce [ ]; # Prevent auto-start
|
||||
serviceConfig.ExecStart = lib.mkForce "${pkgs.coreutils}/bin/true"; # Do nothing successfully
|
||||
};
|
||||
|
||||
systemd.services."nextcloud-update-db.service" = {
|
||||
wantedBy = lib.mkForce [ ]; # Prevent auto-start
|
||||
serviceConfig.ExecStart = lib.mkForce "${pkgs.coreutils}/bin/true"; # Do nothing successfully
|
||||
};
|
||||
|
||||
users.users.nextcloud = { isSystemUser = true; group = "nextcloud"; };
|
||||
users.groups.nextcloud = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue