Compare commits
4 commits
06c8228d16
...
4056f7333e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4056f7333e | ||
![]() |
c136519516 | ||
![]() |
95c6c3787b | ||
![]() |
20b1809b0c |
3 changed files with 7 additions and 1 deletions
|
@ -62,7 +62,10 @@ let
|
|||
in
|
||||
{
|
||||
config = mkIf isGraphical {
|
||||
age.secrets.rbwConfig.file = (self + "/secrets/rbw_config.age");
|
||||
age.secrets.rbwConfig = {
|
||||
file = (self + "/secrets/rbw_config.age");
|
||||
owner = username;
|
||||
};
|
||||
hjem.users.${username}.xdg.config.files."rbw/config.json".source = config.age.secrets.rbwConfig.path;
|
||||
|
||||
environment = {
|
||||
|
|
|
@ -25,6 +25,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
age.secretsDir = "/persist/run/secrets";
|
||||
age.secretsMountPoint = "/persist/run/secret-generations";
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
enable = true;
|
||||
hideMounts = true;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue