run nix fmt

This commit is contained in:
jopejoe1 2024-07-10 23:02:54 +02:00
parent eab8e4b1d8
commit d5cbe31c02
61 changed files with 1299 additions and 830 deletions

View file

@ -1,7 +1,14 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let cfg = config.jopejoe1.repo-sync;
in {
let
cfg = config.jopejoe1.repo-sync;
in
{
options.jopejoe1.repo-sync = {
enable = lib.mkEnableOption "Enable Repo Sync";
};
@ -30,7 +37,12 @@ in {
git -C /var/lib/repo-sync push gitlab
rm -r /var/lib/repo-sync
'';
path = [ pkgs.openssh pkgs.git pkgs.coreutils pkgs.nix ];
path = [
pkgs.openssh
pkgs.git
pkgs.coreutils
pkgs.nix
];
serviceConfig = {
Type = "oneshot";
User = "root";
@ -38,4 +50,3 @@ in {
};
};
}