From: Maximilian Friedersdorff Date: Wed, 7 Feb 2024 21:06:38 +0000 (+0000) Subject: Create dirs X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;ds=inline;p=max%2Fsaltfiles.git Create dirs --- diff --git a/states/nvim/init.sls b/states/nvim/init.sls index a3ae5ad..8ac2d82 100644 --- a/states/nvim/init.sls +++ b/states/nvim/init.sls @@ -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