]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Create dirs master
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 7 Feb 2024 21:06:38 +0000 (21:06 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 7 Feb 2024 21:06:38 +0000 (21:06 +0000)
states/nvim/init.sls

index a3ae5adfcd7a548d6bb2dcaa9982d08c3e18bc80..8ac2d825f738f8537b7121b3fbad63565963b68a 100644 (file)
@@ -1,6 +1,14 @@
 include:
   - nvim.{{ grains['os'] | lower }}
 
+config dir:
+  file.directory:
+    - name: {{ grains['homedir'] }}/.config/nvim
+    - user: {{ grains['user'] }}
+    - group: {{ grains['user'] }}
+    - mode: 750
+    - makedirs: True
+
 rc:
   file.managed:
     - name: {{ grains['homedir'] }}/.config/nvim/init.lua