diff --git a/roles/home-cli/files/storage.conf b/roles/home-cli/files/storage.conf new file mode 100644 index 0000000..0b1afb0 --- /dev/null +++ b/roles/home-cli/files/storage.conf @@ -0,0 +1,5 @@ +[storage] +driver = "overlay" + +[storage.options.overlay] +mount_program = "/usr/bin/fuse-overlayfs" diff --git a/roles/home-cli/tasks/dirs.yml b/roles/home-cli/tasks/dirs.yml index 30da65e..6487cba 100644 --- a/roles/home-cli/tasks/dirs.yml +++ b/roles/home-cli/tasks/dirs.yml @@ -59,3 +59,7 @@ ansible.builtin.file: path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell" state: directory +- name: Create $XDG_CONFIG_HOME/containers + ansible.builtin.file: + path: "{{ ansible_env.XDG_CONFIG_HOME }}/containers" + state: directory diff --git a/roles/home-cli/tasks/dotfiles.yml b/roles/home-cli/tasks/dotfiles.yml index 82f5d0f..da973cf 100644 --- a/roles/home-cli/tasks/dotfiles.yml +++ b/roles/home-cli/tasks/dotfiles.yml @@ -75,3 +75,7 @@ ansible.builtin.copy: src: user-dirs.dirs dest: "{{ ansible_env.XDG_CONFIG_HOME }}/user-dirs.dirs" +- name: Create $XDG_CONFIG_HOME/containers/storage.conf + ansible.builtin.copy: + src: storage.conf + dest: "{{ ansible_env.XDG_CONFIG_HOME }}/containers/storage.conf"