Skip to content

Commit

Permalink
Sync two devices (aslMyluz & aslTiny)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akipe committed Oct 1, 2021
1 parent a57ad95 commit 23bafa3
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 32 deletions.
12 changes: 8 additions & 4 deletions aslMyluz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
- { role: refind, tags: refind }
### Hardware
- { role: nvidia, tags: nvidia }
- { role: disk, tags: disk }
- { role: networkmanager, tags: networkmanager }
- { role: libinput, tags: libinput }
- { role: watchdog, vars: { watchdog_activate: no}, tags: watchdog }
Expand All @@ -71,7 +72,6 @@
- { role: lm_sensors, tags: lm_sensors }
- { role: bluetooth, tags: bluetooth }
- { role: thinkpad, tags: thinkpad }
- { role: intel-undervolt, tags: intel-undervolt }
### Desktop environment
- { role: sddm, tags: sddm }
- { role: kde, tags: kde }
Expand Down Expand Up @@ -107,15 +107,13 @@
- { role: syncthing-cli, tags: syncthing }
- { role: syncthing-gui-kde, tags: syncthing }
- { role: profile-sync-daemon, tags: profile-sync-daemon }
- { role: virtualbox-host, tags: virtualbox-host }
- { role: mpv, tags: mpv }
- { role: firefox, tags: firefox }
- { role: thunderbird, tags: thunderbird }
- { role: chromium, tags: chromium }
- { role: keepassxc, tags: keepassxc }
- { role: vscode, tags: vscode }
- { role: filesystem-support, tags: filesystem-support }
- { role: format-support, tags: format-support }
- { role: fonts-support, tags: fonts-support }
# - { role: hplip, tags: hplip }
- { role: gimp, tags: gimp }
- { role: inkscape, tags: inkscape }
Expand All @@ -137,6 +135,12 @@
- { role: woeusb-ng, tags: woeusb-ng }
- { role: neochat, tags: neochat }
- { role: libvirt, tags: libvirt }
### Overclock/undervolt
- { role: intel-undervolt, tags: intel-undervolt }
- { role: stress, tags: stress }
- { role: mprime, tags: mprime }
- { role: cpupower, tags: cpupower }
- { role: turbostat, tags: turbostat }
# ### Gaming
- { role: gamemode, tags: gamemode }
- { role: steam, tags: steam }
Expand Down
36 changes: 19 additions & 17 deletions aslTiny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@
- always
roles:
### Base
- { role: firewalld, tags: firewalld }
- { role: ssh, tags: ssh }
### Package manager
- { role: makepkg, tags: makepkg }
- { role: aur-cli, tags: aur-cli }
- { role: pacman, tags: pacman }
### Hardware init
- { role: microcode, tags: microcode }
### Boot
- { role: dm-crypt, tags: dm-crypt }
- { role: refind, tags: refind }
### System
- { role: bash, tags: bash }
- { role: fish, tags: fish }
Expand All @@ -36,12 +34,12 @@
- { role: avahi, tags: avahi }
- { role: host, tags: host }
- { role: earlyoom, tags: earlyoom }
# - { role: systemd-zram-generator, tags: systemd-zram-generator }
- { role: systemd-zram-generator, tags: systemd-zram-generator }
- { role: user, tags: user }
- { role: locale, tags: locale }
- { role: sudo, tags: sudo }
- { role: btrfs, tags: btrfs }
- { role: swap, tags: swap }
# - { role: btrfs, tags: btrfs }
# - { role: swap, tags: swap }
- { role: mkinitcpio, tags: mkinitcpio }
- { role: linux-kernel, tags: linux-kernel }
- { role: auditd, tags: auditd }
Expand All @@ -56,6 +54,9 @@
- { role: snap, tags: snap }
- { role: fwupd, tags: fwupd }
# - { role: snapper, tags: snapper }
### Boot
- { role: dm-crypt, tags: dm-crypt }
- { role: refind, tags: refind }
### Hardware
- { role: intelgraphics, tags: intelgraphics }
- { role: sof-firmware, tags: sof-firmware }
Expand Down Expand Up @@ -107,7 +108,7 @@
- { role: smb4k, tags: smb4k }
- { role: syncthing-cli, tags: syncthing }
- { role: syncthing-gui-kde, tags: syncthing }
# - { role: profile-sync-daemon, tags: profile-sync-daemon }
- { role: profile-sync-daemon, tags: profile-sync-daemon }
- { role: virtualbox-host, tags: virtualbox-host }
- { role: mpv, tags: mpv }
- { role: dvdbackup, tags: dvdbackup }
Expand All @@ -129,27 +130,28 @@
- { role: gnome-disk-utility, tags: gnome-disk-utility }
- { role: gnome-multi-writer, tags: gnome-multi-writer }
- { role: signal-desktop, tags: signal-desktop }
- { role: skype, tags: skype }
- { role: webapp-manager, tags: webapp-manager }
# - { role: skype, tags: skype }
- { role: spotify, tags: spotify }
- { role: teamviewer, tags: teamviewer }
- { role: telegram, tags: telegram }
- { role: woeusb-ng, tags: woeusb-ng }
- { role: neochat, tags: neochat }
### Overclock/undervolt
- { role: intel-undervolt, tags: intel-undervolt }
- { role: stress, tags: stress }
- { role: mprime, tags: mprime }
- { role: cpupower, tags: cpupower }
- { role: turbostat, tags: turbostat }
# - { role: intel-undervolt, tags: intel-undervolt }
# - { role: stress, tags: stress }
# - { role: mprime, tags: mprime }
# - { role: cpupower, tags: cpupower }
# - { role: turbostat, tags: turbostat }
### Gaming
- { role: gamemode, tags: gamemode }
- { role: steam, tags: steam }
- { role: wine, tags: wine }
- { role: dosbox, tags: dosbox }
- { role: itch-io, tags: itch-io }
- { role: epic-games-legendary, tags: epic-games-legendary }
- { role: gog-wyvern, tags: gog-wyvern }
- { role: lutris, tags: lutris }
# - { role: itch-io, tags: itch-io }
# - { role: epic-games-legendary, tags: epic-games-legendary }
# - { role: gog-wyvern, tags: gog-wyvern }
# - { role: lutris, tags: lutris }
### Development
- { role: ansible-host, tags: ansible-host }
- { role: docker, tags: docker }
1 change: 1 addition & 0 deletions group_vars/aslMyluz/bootloader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ bootloader_options:
- "pcie_aspm=force"

refind_os_boot_type: gui
refind_is_dual_boot_with_windows: true
6 changes: 2 additions & 4 deletions group_vars/aslTiny/bootloader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

bootloader_timeout: 5
bootloader_options:
- "root=/dev/mapper/akpsystem"
- "rootflags=subvol=@root"
- "resume=/dev/mapper/akpsystem"
- "resume_offset='{{ swap_file_offset }}'"
- "root=/dev/mapper/akpsystem-root"
- "resume=/dev/mapper/akpsystem-swap"
- "audit=1"
- "pcie_aspm=force"

Expand Down
2 changes: 1 addition & 1 deletion group_vars/aslTiny/dmcrypt.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---

dmcrypt_crypttab_entry: "akpsystem LABEL=akpcryptsystem none timeout=180,password-echo=no,discard,no-read-workqueue,no-write-workqueue"
dmcrypt_crypttab_entry: "akpsystem LABEL=akpsystem-encrypt none timeout=180,password-echo=no,discard,no-read-workqueue,no-write-workqueue"
4 changes: 2 additions & 2 deletions group_vars/aslTiny/firefox.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

firefox_use_X11: true
firefox_use_wayland: false
firefox_use_X11: false
firefox_use_wayland: true
11 changes: 11 additions & 0 deletions group_vars/aslTiny/gamemode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

gamemode_desired_governor: "performance"
gamemode_renice: "10"

gamemode_apply_gpu_optimisations: "1"
gamemode_gpu_device: "0"

gamemode_nvidia_powermizer_mode: "1"
# gamemode_nvidia_core_clock_mhz_offset: "0"
# gamemode_nvidia_mem_clock_mhz_offset: "0"
9 changes: 5 additions & 4 deletions group_vars/aslTiny/mkinitcpio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ mkinitcpio_initramfs_modules:
- i915
- dm_mod
- dm_crypt
- ext4
- vfat
- sha256
- sha512
- crc32c-intel
- usbhid
- xhci_hcd
mkinitcpio_initramfs_hooks:
- base
- systemd
Expand All @@ -17,9 +20,7 @@ mkinitcpio_initramfs_hooks:
- modconf
- block
- sd-encrypt
- btrfs
- lvm2
- filesystems
- fsck
mkinitcpio_initramfs_binaries:
- "/usr/bin/btrfs"
mkinitcpio_initramfs_compression: lz4
mkinitcpio_initramfs_compression: zstd

0 comments on commit 23bafa3

Please sign in to comment.