mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
16 lines
334 B
Nix
16 lines
334 B
Nix
|
|
{ pkgs, ... }:
|
||
|
|
let secrets = import <dot/secrets.nix>;
|
||
|
|
in {
|
||
|
|
environment.systemPackages = [
|
||
|
|
(pkgs.unstable.writers.writeDashBin "todoist" ''
|
||
|
|
${pkgs.todoist}/bin/todoist --color $@
|
||
|
|
'')
|
||
|
|
];
|
||
|
|
|
||
|
|
home-manager.users.me.home.file.".todoist.config.json".text = ''
|
||
|
|
{
|
||
|
|
"token": "${secrets.todoist.token}"
|
||
|
|
}
|
||
|
|
'';
|
||
|
|
}
|