From 08035d33995737db3e4178a5201da462011d3483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 13 Jul 2021 19:42:18 +0200 Subject: workstation by os. --- manifests/site.pp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index bbf89d0..d4dcce9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -3,31 +3,7 @@ node 'gandalf.adrift.space' { addr => '3', } - # Rebuilt my local xmonad config after an upgrade to xmonad. - # It's required, I think due to something with dynamic linking. - # It's actually pretty ugly that I'm hardcoded in here, but - # something had to be done. - pacman::hook { 'xmonad': - description => 'Rebuild local xmonad config.', - when => 'PostTransaction', - exec => '/bin/sudo -Hu hugo xmonad --recompile', - trigger => { - type => 'Package', - operation => ['Upgrade', 'Install'], - target => 'xmonad*', - }, - } - - pacman::hook { 'systemd daemon-reload': - description => 'Reload systemd user daemon', - exec => '/bin/sudo -Hu hugo systemctl --user daemon-reload', - when => 'PostTransaction', - trigger => { - operation => 'Upgrade', - type => 'Path', - target => '/usr/lib/systemd/user/*', - }, - } + include ::profiles::workstation } node 'hornquist.se' { -- cgit v1.2.3