fixup: backup secrets
This commit is contained in:
parent
a45a48cf17
commit
215f4313bd
2 changed files with 4 additions and 4 deletions
|
@ -5,6 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
secretsPath = config.dadada.secrets.path;
|
||||||
xilinxJtag = pkgs.writeTextFile {
|
xilinxJtag = pkgs.writeTextFile {
|
||||||
name = "xilinx-jtag";
|
name = "xilinx-jtag";
|
||||||
text = ''
|
text = ''
|
||||||
|
@ -48,6 +49,9 @@ in
|
||||||
passphrasePath = config.age.secrets."${config.networking.hostName}-backup-passphrase-gs".path;
|
passphrasePath = config.age.secrets."${config.networking.hostName}-backup-passphrase-gs".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.secrets."${config.networking.hostName}-backup-passphrase-gs".file =
|
||||||
|
"${secretsPath}/${config.networking.hostName}-backup-passphrase-gs.age";
|
||||||
|
|
||||||
nixpkgs.config.android_sdk.accept_license = true;
|
nixpkgs.config.android_sdk.accept_license = true;
|
||||||
|
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inputs = config.dadada.inputs;
|
inputs = config.dadada.inputs;
|
||||||
secretsPath = config.dadada.secrets.path;
|
|
||||||
in
|
in
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
|
@ -49,7 +48,4 @@ with lib;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
|
|
||||||
age.secrets."${config.networking.hostName}-backup-passphrase-gs".file =
|
|
||||||
"${secretsPath}/${config.networking.hostName}-backup-passphrase-gs.age";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue