summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-02 19:01:04 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-02 19:22:48 +0200
commit4c751df7e334707452c2e507b634694f9eff0af8 (patch)
tree579152125991d00f79fc74e20edfd4919ce31f97
parentMove cowsay and envirnoment setup to own profiles. (diff)
downloadprofiles-4c751df7e334707452c2e507b634694f9eff0af8.tar.gz
profiles-4c751df7e334707452c2e507b634694f9eff0af8.tar.xz
Futher workstation setup.
-rw-r--r--manifests/pulseaudio.pp6
-rw-r--r--manifests/tex.pp8
-rw-r--r--manifests/workstation.pp37
-rw-r--r--manifests/workstation/family/archlinux.pp8
-rw-r--r--manifests/workstation_x.pp25
-rw-r--r--manifests/xmonad.pp2
6 files changed, 86 insertions, 0 deletions
diff --git a/manifests/pulseaudio.pp b/manifests/pulseaudio.pp
new file mode 100644
index 0000000..1035104
--- /dev/null
+++ b/manifests/pulseaudio.pp
@@ -0,0 +1,6 @@
+class profiles::pulseaudio {
+ ensure_packages([
+ 'pavucontrol',
+ 'pulseaudio',
+ ])
+}
diff --git a/manifests/tex.pp b/manifests/tex.pp
new file mode 100644
index 0000000..16783f6
--- /dev/null
+++ b/manifests/tex.pp
@@ -0,0 +1,8 @@
+class profiles::tex {
+ ensure_packages([
+ 'texlive-core',
+ 'texlive-fontsextra',
+ 'texlive-latexextra',
+ 'texlive-pictures',
+ ])
+}
diff --git a/manifests/workstation.pp b/manifests/workstation.pp
index a60973f..7a92e2b 100644
--- a/manifests/workstation.pp
+++ b/manifests/workstation.pp
@@ -44,7 +44,44 @@ class profiles::workstation (
}}),
}
+ # Packages I almost certainly want
+ ensure_packages([
+ 'bash-completion',
+ 'cloc',
+ 'ctags',
+ 'ed',
+ 'git',
+ 'htop',
+ 'moreutils',
+ 'vi',
+ 'wget',
+ 'curl',
+ ])
+
+ # Packages I want for most system
+ ensure_packages([
+ 'direnv',
+ 'elinks',
+ 'ghc-libs',
+ 'highlight',
+ 'imagemagick',
+ 'isync',
+ 'mpc',
+ 'mutt',
+ 'ncmpc',
+ 'nmap',
+ 'pass',
+ 'pass-otp',
+ 'python-pip', # version depending on system?
+ 'ranger',
+ 'sshuttle',
+ 'valgrind',
+ 'weechat',
+ ])
+
+
include ::profiles::cowsay
+ include ::profiles::tex
include ::profiles::sudo
include ::profiles::mounts
}
diff --git a/manifests/workstation/family/archlinux.pp b/manifests/workstation/family/archlinux.pp
index 306b903..eb4765a 100644
--- a/manifests/workstation/family/archlinux.pp
+++ b/manifests/workstation/family/archlinux.pp
@@ -24,6 +24,14 @@ class profiles::workstation::family::archlinux {
line => "MAKEFLAGS='-j${cpus}'"
}
+ ensure_packgaes ([
+ 'inetutils',
+ 'man-pages',
+ 'man-pages-sv',
+ 'net-tools',
+ 'pkgfile',
+ ])
+
# remove
# - netctl
diff --git a/manifests/workstation_x.pp b/manifests/workstation_x.pp
index b065d96..692710b 100644
--- a/manifests/workstation_x.pp
+++ b/manifests/workstation_x.pp
@@ -64,4 +64,29 @@ class profiles::workstation_x (
mode => '0555',
source => 'puppet:///modules/profiles/passmenu',
}
+
+ ensure_packages([
+ 'alacritty',
+ 'emacs',
+ 'firefox',
+ 'gvim', # Arch specific name?
+ 'otf-fira-mono',
+ 'passmenu',
+ 'scrot',
+ 'transmission-remote-gtk',
+ 'ttf-fira-mono',
+ 'xclip',
+ 'xorg',
+ 'xorg-xinit',
+ 'xorg-fonts-misc',
+ 'xrandr',
+ 'arandr',
+ 'xterm',
+ 'zathura',
+ 'zathura-pdf-mupdf',
+ 'zathura-ps',
+ ])
+
+ include ::profiles::pulseaudio
+ include ::profiles::xmonad
}
diff --git a/manifests/xmonad.pp b/manifests/xmonad.pp
index 2a6f41b..d3a61c3 100644
--- a/manifests/xmonad.pp
+++ b/manifests/xmonad.pp
@@ -10,6 +10,8 @@ class profiles::xmonad {
'dzen2',
'dmenu',
'rofi',
+ 'haskell-dbus',
+ 'haskell-old-locale',
], { ensure => installed })
# Rebuilt my local xmonad config after an upgrade to xmonad.