]> xn--ix-yja.es Git - alex.git/commitdiff
Do more wezterm things
authoralex <alex@pdp7.net>
Sun, 28 Sep 2025 16:44:46 +0000 (18:44 +0200)
committeralexpdp7 <alex@corcoles.net>
Sun, 28 Sep 2025 16:45:47 +0000 (18:45 +0200)
* Install on EL
* Switch to nightly
* Handle GPG properly in Debian 12

personal_infra/puppet/modules/basic_software/manifests/init.pp

index 981636d5583e1f1b7cff989f7d2d62be297db105..b44e980c9301f9616ff4d17c3699635da086894d 100644 (file)
@@ -10,6 +10,13 @@ class basic_software {
     }
     ->
     package {'emacs-nw':}
+
+    copr {'wezterm-nightly':
+      user => 'wezfurlong',
+      dist => 'rhel-9',
+    }
+    ->
+    package {'wezterm':}
   }
 
   if ($facts['os']['family'] == 'Debian') {
@@ -31,7 +38,7 @@ class basic_software {
       package {'mlocate':}
     }
 
-    file {'/usr/share/keyrings/wezterm-fury.gpg':
+    file {'/usr/share/keyrings/wezterm-fury.armored':
       content => @(EOT)
       -----BEGIN PGP PUBLIC KEY BLOCK-----
 
@@ -88,6 +95,10 @@ class basic_software {
       | EOT
       ,
     }
+    ->
+    exec {'/usr/bin/gpg --yes --dearmor -o /usr/share/keyrings/wezterm-fury.gpg </usr/share/keyrings/wezterm-fury.armored':
+      creates => '/usr/share/keyrings/wezterm-fury.gpg',
+    }
     ~>
     Exec["/usr/bin/apt update"]
 
@@ -99,6 +110,6 @@ class basic_software {
 
     Exec["/usr/bin/apt update"]
     ->
-    package {'wezterm':}
+    package {'wezterm-nightly':}
   }
 }