From: alex Date: Sat, 5 Oct 2024 09:38:55 +0000 (+0200) Subject: Add Emacs X-Git-Tag: 20241020-emacs~36 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=ccb0ba69d0b2e3fc137f9632381200979836147e;p=alex.git Add Emacs --- diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp index c8e8d1a..56271e2 100644 --- a/personal_infra/puppet/modules/workstation/manifests/init.pp +++ b/personal_infra/puppet/modules/workstation/manifests/init.pp @@ -4,6 +4,19 @@ class workstation { if ($facts['os']['family'] == 'Debian') { package {['nextcloud-desktop']:} + file {'/etc/apt/preferences.d/90_emacs': + content => @(EOT) + Package: src:emacs + Pin: release n=bookworm-backports + Pin-Priority: 990 + | EOT + , + } + ~> + Exec["/usr/bin/apt update"] + -> + package {'emacs-nox':} + file {'/etc/apt/keyrings/packages.mozilla.org.asc': content => @(EOT) -----BEGIN PGP PUBLIC KEY BLOCK-----