From fcab198832cdaa5f82f495f116ceefcda20e542d Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 7 Feb 2024 21:06:38 +0000 Subject: [PATCH] Create dirs --- states/nvim/init.sls | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.47.1