mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
fix(sncli): use toINI
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user