Configure access token for server
This commit is contained in:
parent
eeeb2bd9ed
commit
3081546a58
2 changed files with 16 additions and 0 deletions
|
|
@ -323,4 +323,19 @@ in
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
hardware.cpu.intel.updateMicrocode = true;
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
extraOptions = ''
|
||||||
|
!include ${config.sops.secrets.access.path}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
sops = {
|
||||||
|
gnupg = {
|
||||||
|
home = "~/.gnupg";
|
||||||
|
sshKeyPaths = [ ];
|
||||||
|
};
|
||||||
|
defaultSopsFile = ../secrets/secrets.yaml;
|
||||||
|
secrets.access = { };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
!include ${config.sops.secrets.access.path}
|
!include ${config.sops.secrets.access.path}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue