Browse Source

linux-gentoo: --docker, ++podman, ++acpi_call, ++smartscreen

master
Maxim Likhachev 5 years ago
parent
commit
d5d23accdd
  1. 3
      README.md
  2. 2
      roles/linux-gentoo/tasks/applications.yml
  3. 1
      roles/linux-gentoo/tasks/main.yml
  4. 24
      roles/linux-gentoo/tasks/smartscreen.yml
  5. 1
      roles/linux-gentoo/templates/modules-load.d/consolefont.j2
  6. 10
      roles/linux-gentoo/vars/applications.yml

3
README.md

@ -53,7 +53,7 @@ $ make @@ -53,7 +53,7 @@ $ make
### Applications
- [buildah](https://github.com/containers/buildah) - A tool that facilitates building OCI images.
- [docker](https://www.docker.com/) - Pack, ship and run any application as a lightweight container.
- ~~[docker](https://www.docker.com/) - Pack, ship and run any application as a lightweight container.~~
- [libpod](https://github.com/containers/libpod/) - Library and podman tool for running OCI-based containers in Pods.
- [skopeo](https://github.com/containers/skopeo) - Command line utility foroperations on container images and image repositories.
- [virtualbox-bin](https://www.virtualbox.org/) - Family of powerful x86 virtualization products for enterprise and home use.
@ -87,6 +87,7 @@ $ make @@ -87,6 +87,7 @@ $ make
- ~~[fd](https://github.com/sharkdp/fd) - Simple, fast and user-friendly alternative to find. **[BIN]**~~
- ~~[ripgrep](https://github.com/BurntSushi/ripgrep) - Search tool like grep and The Silver Searcher. **[BIN]**~~
- [android-file-transfer-linux](https://github.com/whoozle/android-file-transfer-linux) - Android File Transfer for Linux.
- [acpi_call](https://github.com/teleshoes/acpi_call) - A kernel module that enables you to call ACPI methods.
- ~~[htop](https://hisham.hm/htop/) - Improved top (interactive process viewer).~~
- [dmenu](https://tools.suckless.org/dmenu/) - Fast and lightweight dynamic menu for X.
- [polybar](https://polybar.github.io/) - A fast and easy-to-use status bar.

2
roles/linux-gentoo/tasks/applications.yml

@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
portage:
package: "{{ apps.remove }}"
state: absent
notify: emerge depclean
# notify: emerge depclean
- name: Disable services
service:

1
roles/linux-gentoo/tasks/main.yml

@ -41,6 +41,7 @@ @@ -41,6 +41,7 @@
when: optimisation.preload
- include: tty.yml
- include: smartscreen.yml
- name: Set sysctl options
sysctl:

24
roles/linux-gentoo/tasks/smartscreen.yml

@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
---
- name: Install acpi_call package
package:
name: acpi_call
state: present
- name: Load acpi_call kernel module on boot
copy:
content: |
acpi_call
dest: /etc/modules-load.d/acpi_call.conf
- name: Set screenpad's brightness on boot
vars:
brightness: "B0" # 00..FF
copy:
content: |
#!/bin/bash
# echo '\_SB.ATKD.WMNB 0x0 0x53564544 b32000500{{ brightness }}000000' > /proc/acpi/call
chmod a+w /proc/acpi/call
dest: /etc/local.d/smartscreen.start
mode: "0755"

1
roles/linux-gentoo/templates/modules-load.d/consolefont.j2

@ -0,0 +1 @@ @@ -0,0 +1 @@
acpi_call

10
roles/linux-gentoo/vars/applications.yml

@ -3,20 +3,26 @@ apps: @@ -3,20 +3,26 @@ apps:
set_name: apps
remove:
- app-editors/nano
- app-emulation/docker
- app-misc/tmux
- media-fonts/terminus-font
- media-gfx/gfxboot
- media-gfx/gfxboot-themes-calculate
- net-firewall/iptables
- net-fs/nfs-utils
- net-misc/dhcp
- sys-auth/pam_update
- sys-fs/btrfs-progs
- sys-fs/cryptsetup
- sys-fs/ecryptfs-utils
- sys-fs/reiserfsprogs
- sys-fs/xfsprogs
- virtual/awk
freeze:
mask:
unmask:
- app-admin/ansible-lint
- sys-power/acpi_call
# Containers
- app-emulation/buildah
@ -41,7 +47,7 @@ apps: @@ -41,7 +47,7 @@ apps:
- app-admin/ansible # https://www.ansible.com/ Automate deployment, configuration, and upgrading.
- app-arch/unrar # https://www.rarlab.com/ Extract, view, and test RAR archives.
- app-editors/neovim # https://neovim.io/ Ambitious Vim-fork focused on extensibility and agility.
- app-emulation/docker # https://www.docker.com/ Pack, ship and run any application as a lightweight container.
# - app-emulation/docker # https://www.docker.com/ Pack, ship and run any application as a lightweight container.
- app-emulation/buildah # https://github.com/containers/buildah A tool that facilitates building OCI images.
- app-emulation/skopeo # https://github.com/containers/skopeo Command line utility foroperations on container images and image repositories.
- app-emulation/libpod # https://github.com/containers/libpod/ Library and podman tool for running OCI-based containers in Pods.
@ -85,6 +91,7 @@ apps: @@ -85,6 +91,7 @@ apps:
- sys-fs/android-file-transfer-linux # https://github.com/whoozle/android-file-transfer-linux Android File Transfer for Linux.
- sys-fs/dfc # https://projects.gw-computing.net/projects/dfc Display graphs and colors of file system space/usage.
- sys-fs/ntfs3g # https://www.tuxera.com/community/open-source-ntfs-3g/ Read-write NTFS driver for FUSE.
- sys-power/acpi_call # https://github.com/teleshoes/acpi_call A kernel module that enables you to call ACPI methods.
# - sys-process/htop # https://hisham.hm/htop/ Improved top (interactive process viewer).
- www-client/firefox-bin # https://www.mozilla.org/ru/firefox/ Mozilla Firefox.
- x11-misc/dmenu # https://tools.suckless.org/dmenu/ Fast and lightweight dynamic menu for X.
@ -105,6 +112,7 @@ apps: @@ -105,6 +112,7 @@ apps:
# Libraries and dependencies
- app-arch/zip
- app-crypt/p11-kit # Required by Vagrant
- app-text/zathura-djvu
- app-text/zathura-pdf-poppler
- dev-python/passlib # Required by calculate-utils

Loading…
Cancel
Save