mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 15:30:14 +00:00
more adjustments
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (config.nmasur.settings) username;
|
||||
cfg = config.nmasur.presets.services.notes-git-sync;
|
||||
in
|
||||
|
||||
@ -27,7 +28,7 @@ in
|
||||
Type = "oneshot";
|
||||
ExecStartPre = "${lib.getExe pkgs.git} -C /data/git/notes reset --hard master";
|
||||
ExecStart = "${lib.getExe pkgs.git} -C /data/git/notes pull";
|
||||
WorkingDirectory = config.home-manager.users.${config.user}.home.homeDirectory;
|
||||
WorkingDirectory = config.home-manager.users.${username}.home.homeDirectory;
|
||||
Environment = "PATH=${pkgs.openssh}/bin";
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user