1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(sncli): use toINI

This commit is contained in:
Kierán Meinhardt
2019-09-25 18:37:08 +02:00
parent 7b8e0c47a4
commit f93a0e04a2

View File

@@ -1,13 +1,14 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let secrets = import <dot/secrets.nix>;
in {
environment.systemPackages = [ pkgs.python3Packages.sncli ];
home-manager.users.me = {
home.file.".snclirc".text = ''
[sncli]
cfg_sn_username = ${secrets.simplenote.username}
cfg_sn_password = ${secrets.simplenote.password}
'';
home.file.".snclirc".text = lib.generators.toINI {} {
sncli = {
cfg_sn_username = secrets.simplenote.username;
cfg_sn_password = secrets.simplenote.password;
};
};
};
}