Updated and addressed warnings

This commit is contained in:
Alejandro Angulo 2024-03-02 08:23:27 -08:00
parent 34dfa4b543
commit 9ad147bb5b
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
5 changed files with 40 additions and 35 deletions

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: {
imports = [
@ -84,7 +85,7 @@
apps.yubikey.enable = true;
};
security.pam.enableSSHAgentAuth = true;
security.pam.sshAgentAuth.enable = true;
security.pam.services.${config.aa.user.name}.sshAgentAuth = true;
boot.loader.systemd-boot.enable = true;
@ -107,6 +108,20 @@
];
};
# Running own DNS resolver on same system. This prevents DNS issues with ACME
systemd.services = let
dependency = ["adguardhome.service"];
in
lib.mapAttrs'
(name: _:
lib.nameValuePair "acme-${name}" {
after = dependency;
preStart = ''
sleep 10
'';
})
config.security.acme.certs;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [