aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2024-10-05 11:38:55 +0200
committeralexpdp7 <alex@corcoles.net>2024-10-05 11:40:14 +0200
commitccb0ba69d0b2e3fc137f9632381200979836147e (patch)
tree097ff5c4e6a53ace1e71397308762ac4f8b8bfec
parentda5a6f03b84c163254d70e3a5d37c6c5d6e61ca2 (diff)
Add Emacs
-rw-r--r--personal_infra/puppet/modules/workstation/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/personal_infra/puppet/modules/workstation/manifests/init.pp b/personal_infra/puppet/modules/workstation/manifests/init.pp
index c8e8d1a5..56271e29 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-----