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