dont configure gnome when on wsl

This commit is contained in:
Anthony Rodriguez 2024-02-07 13:35:46 +01:00
parent 36b6c06ca5
commit fab2ef5b78
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 3 additions and 1 deletions

2
.chezmoi.toml.tmpl Normal file
View file

@ -0,0 +1,2 @@
[data]
is_wsl = {{ (.chezmoi.kernel.osrelease | regexMatch "-microsoft-standard$") }}

View file

@ -1,4 +1,4 @@
{{- if and (eq .chezmoi.os "linux") -}}
{{- if and (eq .chezmoi.os "linux") (not .is_wsl) -}}
#!/bin/sh
dconf load /org/gnome/ <<EOF