class profiles::workstation::family::archlinux { pacman::hook { 'systemd daemon-reload': description => 'Reload systemd user daemon', exec => '/bin/sudo systemctl --machine=hugo@.host --user daemon-reload', when => 'PostTransaction', trigger => { operation => 'Upgrade', type => 'Path', target => 'usr/lib/systemd/user/*', }, } package { 'kernel-modules-hook': ensure => installed, } -> service { 'linux-modules-cleanup': enable => true, } $cpus = $facts['processors']['count'] - 1 file_line { 'Makepkg paralell': path => '/etc/makepkg.conf', after => '^#-- Make flags', line => "MAKEFLAGS='-j${cpus}'" } ensure_packgaes ([ 'inetutils', 'man-pages', 'man-pages-sv', 'net-tools', 'pkgfile', ]) # remove # - netctl # aur-packages # - pacaur # - ansible-aur-git # - cyrus-sasl-xoauth2-git # - todotxt # - effitask # - getmail # - mu # # - pacaur # - pandoc-bin # - tlclient # # backups old modules on kernel update # - kernel-modules-hook }