mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
run nix fmt
This commit is contained in:
parent
eab8e4b1d8
commit
d5cbe31c02
61 changed files with 1299 additions and 830 deletions
|
@ -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 {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue