summary refs log tree commit diff stats
path: root/system/services/nix-sync/default.nix (follow)
Commit message (Collapse)AuthorAge
* fix(nix-sync): Ensure that the `target` for `ln` never ends with a `/`Benedikt Peetz2024-06-05
| | | | Otherwise, `ln` tries to create the symlink _in_ the target directory.
* fix(nix-sync): Add code-path to create a repo's path, if absentBenedikt Peetz2024-06-05
|
* fix(nix-sync): Ensure that the service can write to all needed pathsBenedikt Peetz2024-06-01
| | | | | | | Previously, the generated service _could_ write to the directory, but wanted to create the directory, if it was absent. Creating this directory, requires to be able to write in the parent directory. This is fixed, by ensuring that the parent directories are included.
* fix(nix-sync): Explicitly set the `network-online.target` dependencyBenedikt Peetz2024-06-01
|
* feat(system/services/nginx): Add the GPG WKDBenedikt Peetz2024-05-25
|
* Style(treewide): Merge attrs togetherSoispha2023-10-14
|
* Fix(system/services/nix-sync): Remove timeout on buildSoispha2023-08-02
| | | | | | | The unit had the potential to fail, if the build took longer than the default timeout. This is obviously not ideal, so the timeout was removed, as all nix builds should be safe enough not to devour resources.
* Fix(system/services/nix-sync): Rebase on pulls, to allow for force pushesSoispha2023-08-02
| | | | | | | | As the nix-sync service should _never_ commit new stuff, this rebase should always be a fast-forward, i.e. it works without manual intervention. Without the rebase as argument, this services would break, when the history gets rewritten, for example on a amended commit.
* Fix(system/services/nix-sync): Make the timer relative to the unit startSoispha2023-08-02
| | | | | | | The timer before hand started `repo.interval` after it self was started, i.e., it was a oneshot timer. This change now fixes this by make the point the timer activates relative to the time elapsed, since the associated unit was last started.
* Style(treewide): Format after removing vim linesSoispha2023-07-19
|
* Feat(.editorconfig): Add the configuration for all filesSoispha2023-07-19
| | | | | This sets some formatting option based on the file. In comparison to the vim lines, this should be supported by more editors.
* Fix(system/services/nix-sync): Nix build needs access to /proc/statSoispha2023-07-08
|
* Fix(system/services/nix-sync): Guard deletion of `repo.path`Soispha2023-07-05
|
* Fix(system/services/nix-sync): Pull before rebuildingSoispha2023-07-05
|
* Fix(system/services/nix-sync): Generate the needed repo pathsSoispha2023-07-05
|
* Fix(system/services/nix-sync): Rebuild website on gcSoispha2023-07-05
|
* Fix(system/services/nix-sync): Really remove last reference to git-syncSoispha2023-07-05
|
* Fix(system/services/nix-sync): Small typos in ExecStartSoispha2023-07-05
|
* Feat(system/services/nix-sync): Split unit into a timer and unitSoispha2023-07-04
|
* Fix(system/services/nix-sync): Use cache directorySoispha2023-07-04
|
* Docs(system/services/nix-sync): Change last remnant from git-syncSoispha2023-07-04
|
* Fix(system/services/nix-sync): Use correct git urlsSoispha2023-07-04
|
* Fix(system/services/nix-sync): Generate root independent of pathSoispha2023-07-04
|
* Fix(system/services/nix-sync): Add the cachePath rwSoispha2023-07-04
|
* Fix(system/services/nix-sync): Add '/etc/nginx/websites' to kept dirsSoispha2023-07-04
|
* Fix(system/services/nix-sync): Remove slash from cachePathSoispha2023-07-04
|
* Fix(system/services/nix-sync): Add some required paths to unitSoispha2023-07-04
|
* Refactor(system/services/nix-sync): Consolidate into repoCachePathSoispha2023-07-04
|
* Fix(system/services/nix-sync): Generate user and group if set to defaultSoispha2023-07-04
|
* Fix(system/services/nix-sync): Rename units to nix-sync-<domain>Soispha2023-07-04
|
* Fix(system/services/nix-sync): Use correct shell escape for pathsSoispha2023-07-04
|
* Fix(system/services/nix-sync): Use correct writeScript functionSoispha2023-07-03
|
* Fix(system/services/nix-sync): Fully rename to nix-syncSoispha2023-07-03
|
* Feat(system/services/nix-sync): Remodel git-sync to make it usefulSoispha2023-07-03