Updated and addressed warnings
This commit is contained in:
parent
34dfa4b543
commit
9ad147bb5b
5 changed files with 40 additions and 35 deletions
|
@ -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; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue