Compare commits
2 Commits
38bff506f7
...
3c90152c1c
Author | SHA1 | Date | |
---|---|---|---|
3c90152c1c | |||
5a6a41a5cb |
@ -1,6 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Configuring nix.
|
# Configuring nix.
|
||||||
|
|
||||||
|
- name: Adding current user to nix-users
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ ansible_user_id }}"
|
||||||
|
groups: nix-users
|
||||||
|
append: true
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Create configuration directory
|
- name: Create configuration directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ userconfigdir }}"
|
path: "{{ userconfigdir }}"
|
||||||
|
@ -6,3 +6,11 @@
|
|||||||
tags:
|
tags:
|
||||||
- zsh
|
- zsh
|
||||||
- zsh-config
|
- zsh-config
|
||||||
|
|
||||||
|
- name: Default shell
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ ansible_user_id }}"
|
||||||
|
shell: /usr/bin/zsh
|
||||||
|
tags:
|
||||||
|
- zsh
|
||||||
|
- zsh-defshell
|
||||||
|
Loading…
Reference in New Issue
Block a user