Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(nix-sync): Don't try to exit in a subshell | Benedikt Peetz | 2024-06-05 |
| | | | | | | | | The `(cmd1 && cmd2)` pattern works, but fails with commands like `exit` as the parentheses start a new subshell, which the `exit` command will then close instead of exiting the main shell. The curly brackets have the intended effect here, as they simply group the commands together. | ||
* | fix(nix-sync): Ensure that the `target` for `ln` never ends with a `/` | Benedikt Peetz | 2024-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 absent | Benedikt Peetz | 2024-06-05 |
| | |||
* | fix(nix-sync): Ensure that the service can write to all needed paths | Benedikt Peetz | 2024-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` dependency | Benedikt Peetz | 2024-06-01 |
| | |||
* | feat(system/services/nginx): Add the GPG WKD | Benedikt Peetz | 2024-05-25 |
| | |||
* | Style(treewide): Merge attrs together | Soispha | 2023-10-14 |
| | |||
* | Fix(system/services/nix-sync): Remove timeout on build | Soispha | 2023-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 pushes | Soispha | 2023-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 start | Soispha | 2023-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 lines | Soispha | 2023-07-19 |
| | |||
* | Feat(.editorconfig): Add the configuration for all files | Soispha | 2023-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/stat | Soispha | 2023-07-08 |
| | |||
* | Fix(system/services/nix-sync): Guard deletion of `repo.path` | Soispha | 2023-07-05 |
| | |||
* | Fix(system/services/nix-sync): Pull before rebuilding | Soispha | 2023-07-05 |
| | |||
* | Fix(system/services/nix-sync): Generate the needed repo paths | Soispha | 2023-07-05 |
| | |||
* | Fix(system/services/nix-sync): Rebuild website on gc | Soispha | 2023-07-05 |
| | |||
* | Fix(system/services/nix-sync): Really remove last reference to git-sync | Soispha | 2023-07-05 |
| | |||
* | Fix(system/services/nix-sync): Small typos in ExecStart | Soispha | 2023-07-05 |
| | |||
* | Feat(system/services/nix-sync): Split unit into a timer and unit | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Use cache directory | Soispha | 2023-07-04 |
| | |||
* | Docs(system/services/nix-sync): Change last remnant from git-sync | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Use correct git urls | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Generate root independent of path | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Add the cachePath rw | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Add '/etc/nginx/websites' to kept dirs | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Remove slash from cachePath | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Add some required paths to unit | Soispha | 2023-07-04 |
| | |||
* | Refactor(system/services/nix-sync): Consolidate into repoCachePath | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Generate user and group if set to default | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Rename units to nix-sync-<domain> | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Use correct shell escape for paths | Soispha | 2023-07-04 |
| | |||
* | Fix(system/services/nix-sync): Use correct writeScript function | Soispha | 2023-07-03 |
| | |||
* | Fix(system/services/nix-sync): Fully rename to nix-sync | Soispha | 2023-07-03 |
| | |||
* | Feat(system/services/nix-sync): Remodel git-sync to make it useful | Soispha | 2023-07-03 |