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:
@@ -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
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user