mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
feat(watson): manage config
This commit is contained in:
@@ -2,7 +2,17 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.watson ];
|
environment.systemPackages = [ pkgs.watson ];
|
||||||
|
|
||||||
|
home-manager.users.me.xdg.configFile."watson/config".text = ''
|
||||||
|
[options]
|
||||||
|
confirm_new_project = true
|
||||||
|
confirm_new_tag = true
|
||||||
|
date_format = %Y-%m-%d
|
||||||
|
log_current = true
|
||||||
|
report_current = true
|
||||||
|
'';
|
||||||
|
|
||||||
system.activationScripts.watson-home = ''
|
system.activationScripts.watson-home = ''
|
||||||
ln -sfn ${config.users.users.me.home}/cloud/Seafile/Documents/watson ${config.users.users.me.home}/.config/watson
|
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