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