1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 21:01:07 +01:00

update to 19.03

This commit is contained in:
Kierán Meinhardt
2019-04-22 22:40:41 +02:00
parent 9d28068dfe
commit 3139bebd0f
15 changed files with 89 additions and 41 deletions

View File

@@ -1,17 +1,11 @@
{ 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 $@
'')
];
imports = [ <modules/todoist.nix> ];
home-manager.users.me.home.file.".todoist.config.json".text = ''
{
"token": "${secrets.todoist.token}"
}
'';
niveum.todoist = {
enable = true;
token = secrets.todoist.token;
};
}