diff --git a/tasks/workstation/shared/settings/gnome.yml b/tasks/workstation/shared/settings/gnome.yml index b95a2d2..7086673 100644 --- a/tasks/workstation/shared/settings/gnome.yml +++ b/tasks/workstation/shared/settings/gnome.yml @@ -428,7 +428,7 @@ unset -f inc_dconf unset dconf_count - marker: '# {mark} MANAGED BY ANSIBLE | NixOS GNOME Settings' + marker: '# {mark} MANAGED BY ANSIBLE | GNOME Settings' state: present create: yes backup: yes @@ -436,3 +436,18 @@ loop: - .bashrc - .zshrc + +# Remove the dconf settings which had the marker related to NixOS. +- name: Workstation | Account Management | GNOME | Settings (NixOS) + blockinfile: + path: "{{ user_user.home }}/{{ item }}" + block: | + DELETEME + marker: '# {mark} MANAGED BY ANSIBLE | NixOS GNOME Settings' + state: present + create: no + backup: no + become_user: "{{ user }}" + loop: + - .bashrc + - .zshrc