Migrate autoupdate tasks to strangerbot
This commit is contained in:
parent
6c95b934fa
commit
3a5f177b24
|
@ -4,12 +4,12 @@ let
|
|||
(builtins.readFile ../../scripts/gitea/update-repo.sh);
|
||||
environment = {
|
||||
XDG_RUNTIME_DIR = "/tmp";
|
||||
HOME = "/home/nathan";
|
||||
HOME = "/home/strangerbot";
|
||||
NIX_PATH =
|
||||
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels";
|
||||
XDG_CONFIG_DIRS =
|
||||
"/home/nathan/.nix-profile/etc/xdg:/etc/profiles/per-user/nathan/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg";
|
||||
XDG_CONFIG_HOME = "/home/nathan/.config";
|
||||
"/etc/profiles/per-user/strangerbot/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg";
|
||||
XDG_CONFIG_HOME = "/home/strangerbot/.config";
|
||||
};
|
||||
path = with pkgs; [
|
||||
git
|
||||
|
@ -31,7 +31,7 @@ let
|
|||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "nathan";
|
||||
User = "strangerbot";
|
||||
Group = "users";
|
||||
};
|
||||
};
|
||||
|
@ -56,7 +56,6 @@ in lib.mkMerge [
|
|||
};
|
||||
home-manager.users."strangerbot" = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Stranger Bot";
|
||||
userEmail = "bot@stranger.systems";
|
||||
extraConfig = {
|
||||
|
|
Loading…
Reference in New Issue