Hyperling 791dc245a6
General Improvements + Miner Deprecation (#23)
* Add volume key controls.

* Add placeholder for LBRY app.

* Refactor gui into gnome and packages. Remove deprecated lineinfiles. Enhance package management.

* Variablize tar to fix FreeBSD.

* Variablize tar to fix FreeBSD.

* Take FreeBSD gui.yml refactor into account.

* Unfinished changes to use self-signed cert so local traffic can hit https. Server starts fine, but getting "gnutls_handshake() failed: An unexpected TLS packet was received." on client's `git clone`.

* Make D2D optional. FreeBSD is still having a hard time compiling it.

* Use a block for Dash To Dock so only one ignore_errors is necessary.

* Deprecate miner section since machines have been decommissioned.

* Remove deprecated file.

* Switch to lightdm on FreeBSD.

* Automate GPU driver installation.

* Updated DWM config and added TODO's.

* Move lynis to src folder for cleanliness.

* Remove debug.

* Refactor for "shared" system type folder.

* Fix FreeBSD gpu.yml location.

* Add a default hosts file to hide warnings.
2022-01-10 13:41:54 +00:00

79 lines
1.8 KiB
YAML

---
# Nice, simple, and easy to use tiling window manager.
# https://dwm.suckless.org/
# https://sites.google.com/site/lazyboxx/-articles/dwm-a-newbie-s-guide#TOC-Status-Bar
#TODO: Move this to tasks/shared/ pasth rather than tasks/linux/.
#TODO: Generate files based on blockinfile.
#TODO: Fix config.mk for FreeBSD automatically (use /usr/local/ for libs not /usr/X11RC/)
#TODO: scm.sh to use bash variable so that FreeBSD correctly hits /usr/local/bin/bash.
## Pre-reqs ##
- name: Workstation | Linux | Software | DWM | Pre-Reqs
package:
name:
- git
- "{{ make }}"
- "{{ dmenu }}"
- "{{ font_awesome }}"
update_cache: yes
## Download ##
- name: Workstation | Linux | Software | DWM | Git Clone
git:
repo: https://git.suckless.org/dwm
dest: "{{ dwm_install_dir }}"
clone: yes
force: yes
- name: Workstation | Linux | Software | DWM | Git Clone (st)
git:
repo: https://git.suckless.org/st
dest: "{{ st_install_dir }}"
clone: yes
force: yes
## Configuration ##
- name: Workstation | Linux | Software | DWM | Config File
copy:
src: dwm/config.h
dest: "{{ dwm_install_dir }}"
owner: root
group: "{{ root_group }}"
mode: 0755
## Install ##
- name: Workstation | Linux | Software | DWM | Install
shell: "cd {{ dwm_install_dir }}; {{ make }} clean install"
- name: Workstation | Linux | Software | DWM | Install (st)
shell: "cd {{ st_install_dir }}; {{ make }} clean install"
## X Init Sript ##
- name: Workstation | Linux | Software | DWM | Shell Script
copy:
src: dwm/dwm.sh
dest: "{{ global_bin }}"
owner: root
group: "{{ root_group }}"
mode: 0755
## Desktop File ##
- name: Workstation | Linux | Software | DWM | Desktop File
copy:
src: dwm/dwm.desktop
dest: "{{ x_desktops }}"
owner: root
group: "{{ root_group }}"
mode: 0644