1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(watson): configure WATSON_DIR

This commit is contained in:
2022-01-14 08:30:33 +01:00
parent f9ceed1352
commit a7efa8a822

View File

@@ -2,17 +2,5 @@
{ {
environment.systemPackages = [ pkgs.watson ]; environment.systemPackages = [ pkgs.watson ];
home-manager.users.me.xdg.configFile."watson/config".text = '' environment.variables.WATSON_DIR = "${config.users.users.me.home}/cloud/Seafile/Documents/watson";
[options]
confirm_new_project = true
confirm_new_tag = true
date_format = %Y-%m-%d
log_current = true
report_current = true
'';
system.activationScripts.watson-home = ''
ln -sfn ${config.users.users.me.home}/cloud/Seafile/Documents/watson/frames ${config.users.users.me.home}/.config/watson/frames
ln -sfn ${config.users.users.me.home}/cloud/Seafile/Documents/watson/state ${config.users.users.me.home}/.config/watson/state
'';
} }