diff --git a/configs/common/pacman-init.yaml b/configs/common/pacman-init.yaml new file mode 100644 index 0000000..d889090 --- /dev/null +++ b/configs/common/pacman-init.yaml @@ -0,0 +1,17 @@ +filesystem: + files: + - path: /etc/systemd/system/pacman-init.service + content: | + [Unit] + Description=Initializes Pacman keyring + Requires=etc-pacman.d-gnupg.mount + After=etc-pacman.d-gnupg.mount time-sync.target + BindsTo=etc-pacman.d-gnupg.mount + Before=archlinux-keyring-wkd-sync.service + [Service] + Type=oneshot + RemainAfterExit=yes + ExecStart=/usr/bin/pacman-key --init + ExecStart=/usr/bin/pacman-key --populate + [Install] + WantedBy=multi-user.target