Compare commits
5 commits
6661ab441d
...
bcf390e8a7
Author | SHA1 | Date | |
---|---|---|---|
bcf390e8a7 | |||
75ffd54e7d | |||
5507106e41 | |||
752bed060b | |||
cf86743d68 |
1 changed files with 20 additions and 19 deletions
|
@ -52,21 +52,26 @@
|
||||||
|
|
||||||
# Package management
|
# Package management
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings =
|
||||||
trusted-users = [
|
let
|
||||||
"root"
|
substituters = [
|
||||||
"@wheel"
|
"https://${inputs.self.nixosConfigurations.lindberg-build.config.qois.nixpkgs-cache.hostname}?priority=39"
|
||||||
];
|
"https://cache.nixos.org?priority=40"
|
||||||
substituters = [
|
"https://attic.qo.is/qois-infrastructure"
|
||||||
"https://${inputs.self.nixosConfigurations.lindberg-build.config.qois.nixpkgs-cache.hostname}?priority=39"
|
];
|
||||||
"https://cache.nixos.org?priority=40"
|
in
|
||||||
"https://attic.qo.is/qois-infrastructure"
|
{
|
||||||
];
|
trusted-users = [
|
||||||
trusted-public-keys = [
|
"root"
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"@wheel"
|
||||||
"qois-infrastructure:lh35ymN7Aoxm5Hz0S6JusxE+cYzMU+x9OMKjDVIpfuE="
|
];
|
||||||
];
|
trusted-public-keys = [
|
||||||
};
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
"qois-infrastructure:lh35ymN7Aoxm5Hz0S6JusxE+cYzMU+x9OMKjDVIpfuE="
|
||||||
|
];
|
||||||
|
trusted-substituters = substituters; # For hosts that limit the subst list
|
||||||
|
inherit substituters;
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
@ -87,10 +92,6 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
|
|
||||||
# temporary mitigation agains CVE-2024-6387 «regreSSHion» RCE
|
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/323753#issuecomment-2199762128
|
|
||||||
settings.LoginGraceTime = 0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue