No description
Find a file
2026-01-11 17:12:37 -05:00
.editorconfig initial commit 2025-12-04 00:43:32 -05:00
.gitignore initial commit 2025-12-04 00:43:32 -05:00
flake.lock new git-hooks based deployment 2026-01-09 22:29:04 -05:00
flake.nix new git-hooks based deployment 2026-01-09 22:29:04 -05:00
lib.nix ensure we have git installed 2026-01-11 17:12:37 -05:00
LICENSE initial commit 2025-12-04 00:43:32 -05:00
module.nix ensure we have git installed 2026-01-11 17:12:37 -05:00
README.md new git-hooks based deployment 2026-01-09 22:29:04 -05:00

FOO UpDater

Declaratively keep your stuff up to date in your nixos config.

Warning

You shouldn't use this just yet as it's still a WIP

Usage

services.fooud = {
  enable = true;
  repos = [
    {
      path = "/full/path/to/your/repo.git";
      hooks = [
        pkgs.writeScriptBin "post-recieve" ''
          git clone . /var/www/your/deployed/location
        '';
      ];
    }
  ];
};

TODO

  • add support for non-git files