]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Add zsh-completion use flag in relevant places
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 17 Jul 2019 08:18:59 +0000 (09:18 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 17 Jul 2019 08:18:59 +0000 (09:18 +0100)
states/pass/gentoo.sls
states/sway/gentoo.sls

index cb9ddced6ddcf3ba8214ede67fb88ac0669264cb..3f23a057e45b14a1f8fbef6922c214d48fe76792 100644 (file)
@@ -20,6 +20,15 @@ unmask pass package:
     - makedirs: True
     - dir_mode: 755
 
+pass useflags:
+  file.managed:
+    - name: /etc/portage/package.use/pass-salt
+    - contents:
+      - app-admin/pass zsh-completion
+    - user: root
+    - group: root
+    - mode: 644
+
 install pass:
   pkg.installed:
     - name: app-admin/pass
@@ -29,3 +38,4 @@ install pass:
     - require:
       - file: keyword pass package
       - file: unmask pass package
+      - file: pass useflags
index e79c23a975733390e8e20caabf75cc717d7fe15c..63bc5f679ff2d475ab4cee1b3c812bfc8f872215 100644 (file)
@@ -14,7 +14,9 @@ sway useflags:
   file.managed:
     - name: /etc/portage/package.use/sway-salt
     - contents:
-      - gui-wm/sway swaybar swaybg swayidle swaylock swaymsg swaynag
+      - gui-wm/sway swaybar swaybg swayidle swaylock swaymsg swaynag zsh-completion
+      - gui-apps/swayidle zsh-completion
+      - gui-apps/swaylock zsh-completion
     - user: root
     - group: root
     - mode: 644