Commit graph

19 commits

Author SHA1 Message Date
Alexander Tomokhov 5fe4c405ce nixos: split script into ExecStartPre && ExecStart 2023-12-28 12:27:07 +04:00
Alexander Tomokhov 679137386d nixos: set to false: restartIfChanged and unitConfig.X-StopOnRemoval 2023-12-28 05:31:58 +04:00
Alexander Tomokhov e8cd9d4b72 nixos: locking path:./sp-modules without flake.lock; cd /etc/nixos 2023-12-28 04:36:25 +04:00
Alexander Tomokhov 5bf42a8bc1 nixos: /etc/nixos#sp-nixos => /etc/nixos#default 2023-12-27 14:00:33 +04:00
Alexander Tomokhov 7883063dca nixos: config.system.build.nixos-rebuild instead of pkgs.nixos-rebuild 2023-12-27 13:36:36 +04:00
Alexander Tomokhov 6735784bb7 nixos: nix flake lock /etc/nixos --update-input sp-modules 2023-12-27 13:21:46 +04:00
Alexander Tomokhov 400be88738 nixos: service Type is simple
Because API is not designed to wait for long-running start command.
2023-12-22 23:50:18 +04:00
Alexander Tomokhov 97984d2644 nixos: systemd service Type = "oneshot"
Otherwise, "After" directive is meaningless for us.
2023-12-20 18:04:21 +04:00
Alexander Tomokhov 82b0915231 nixos: avoid simultaneous runs of nixos-rebuild services
By declaring ordering dependencies between nixos-rebuild services.
2023-12-18 23:48:17 +04:00
Alexander Tomokhov 8c9bf95c6d nixos: sp-nixos-upgrade: update sp-modules/ own flake.lock 2023-12-18 22:24:57 +04:00
Alexander Tomokhov 08e04ee601 nixos: remove enableSwagger and b2Bucket options 2023-12-16 09:36:31 +04:00
Alexander Tomokhov 2bdb73d348 sp-nixos-rebuild: relock sp-modules each time 2023-12-12 15:42:03 +04:00
Alexander Tomokhov 75f4e8d40e module: fix sp-nixos-rebuild systemd script 2023-11-23 21:31:50 +04:00
Alexander Tomokhov 8ccec53740 module: more realistic commands in systemd services 2023-11-23 11:36:02 +04:00
Alexander Tomokhov 9c18ab285c module: set proper PYTHONPATH for huey with selfprivacy_api 2023-11-23 02:47:02 +04:00
Alexander Tomokhov 2bbc2be6b5 module: delete NIX_PATH and PYTHONPATH usage 2023-11-22 22:51:55 +04:00
Alexander Tomokhov d3873119b0 fix nixos-rebuild commands for systemd services 2023-11-21 07:10:41 +04:00
Alexander Tomokhov e28aa8d60d minimal updates to systemd services 2023-11-18 06:37:14 +04:00
Alexander Tomokhov e6e9d0677e add selfprivacy-api NixOS module
Just a copy from selfprivacy-nixos-config.
2023-11-16 06:27:24 +04:00