Compare commits
4 commits
bcf390e8a7
...
6661ab441d
Author | SHA1 | Date | |
---|---|---|---|
6661ab441d | |||
9b83ccf8c5 | |||
df41008026 | |||
1b3a091fae |
1 changed files with 19 additions and 20 deletions
|
@ -52,26 +52,21 @@
|
||||||
|
|
||||||
# Package management
|
# Package management
|
||||||
nix = {
|
nix = {
|
||||||
settings =
|
settings = {
|
||||||
let
|
trusted-users = [
|
||||||
substituters = [
|
"root"
|
||||||
"https://${inputs.self.nixosConfigurations.lindberg-build.config.qois.nixpkgs-cache.hostname}?priority=39"
|
"@wheel"
|
||||||
"https://cache.nixos.org?priority=40"
|
];
|
||||||
"https://attic.qo.is/qois-infrastructure"
|
substituters = [
|
||||||
];
|
"https://${inputs.self.nixosConfigurations.lindberg-build.config.qois.nixpkgs-cache.hostname}?priority=39"
|
||||||
in
|
"https://cache.nixos.org?priority=40"
|
||||||
{
|
"https://attic.qo.is/qois-infrastructure"
|
||||||
trusted-users = [
|
];
|
||||||
"root"
|
trusted-public-keys = [
|
||||||
"@wheel"
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
];
|
"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";
|
||||||
|
@ -92,6 +87,10 @@
|
||||||
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