nix: Make nix the root
Which means now I'll have to think about real prefixes in commit names.
This commit is contained in:
parent
550eed06e0
commit
ee178b7d57
190 changed files with 5 additions and 6 deletions
29
unprocessed/config/automatrop/roles/termux/tasks/main.yml
Normal file
29
unprocessed/config/automatrop/roles/termux/tasks/main.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
- name: Create Termux directory
|
||||
ansible.builtin.file:
|
||||
state: directory
|
||||
path: "{{ ansible_user_dir }}/.termux"
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
# TODO This is a dotfiles directory.
|
||||
# Make it not install unless it's Termux
|
||||
|
||||
- name: Silence Termux login message
|
||||
ansible.builtin.file:
|
||||
state: file
|
||||
path: "{{ ansible_user_dir }}/.hushlogin"
|
||||
mode: u=rw,g=r,o=r
|
||||
|
||||
# https://github.com/kdrag0n/base16-termux/blob/master/templates/default.mustache
|
||||
- name: Download base16 theme for Termux
|
||||
ansible.builtin.copy:
|
||||
content: "{{ base16_schemes['schemes'][base16_scheme]['termux']['colors']['base16-' + base16_scheme + '.properties'] }}"
|
||||
dest: "{{ ansible_env.HOME }}/.termux/colors.properties"
|
||||
mode: u=rw,g=r,o=r
|
||||
tags:
|
||||
- color
|
||||
|
||||
# TODO
|
||||
# Upgrade
|
||||
# If root:
|
||||
# $ apt install tsu
|
||||
# $ echo '/system/bin/mount -o remount,rw /; ln -s /data/data/com.termux/files/usr /usr; /system/bin/mount -o remount,ro /' | tsu
|
Loading…
Add table
Add a link
Reference in a new issue