File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1- {
1+ topLevel : {
22 flake . modules = {
33 homeManager . base =
4- { config , ... } :
4+ { config , pkgs , ... } :
55 {
66 programs = {
77 password-store = {
88 enable = true ;
9+ package = pkgs . gopass ;
910 settings = {
1011 PASSWORD_STORE_DIR = "${ config . xdg . configHome } /.password-store" ;
12+ PASSWORD_STORE_KEY = ( topLevel . config . flake . meta . users . ${ config . home . username } ) . key ;
1113 } ;
1214 } ;
1315 } ;
Original file line number Diff line number Diff line change 1- {
1+ topLevel : {
22 flake . modules = {
3- homeManager . dev = {
4- programs = {
5- gpg = {
6- enable = true ;
7- settings = {
8- default-key = "0AAF2901E8040715" ;
3+ homeManager . dev =
4+ { config , ... } :
5+ {
6+ programs = {
7+ gpg = {
8+ enable = true ;
9+ settings = {
10+ default-key = ( topLevel . config . flake . meta . users . ${ config . home . username } ) . key ;
11+ } ;
912 } ;
1013 } ;
1114 } ;
12- } ;
1315 } ;
1416}
You can’t perform that action at this time.
0 commit comments