diff --git a/dotfiles/common/home/.x2goclient/sessions b/dotfiles/common/home/.x2goclient/sessions new file mode 100644 index 0000000..e423001 --- /dev/null +++ b/dotfiles/common/home/.x2goclient/sessions @@ -0,0 +1,352 @@ +[20160811230132225] +applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autoconnect=0 +autologin=true +autostart=0 +clipboard=both +command=MATE +defsndport=true +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=96 +export= +forwardsshagent=0 +fstunnel=true +fullscreen=false +height=1000 +host=hartmanlab.genetics.uab.edu +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +kdrive=false +key= +krbdelegation=false +krblogin=false +layout=us +maxdim=false +mimeboxaction=OPEN +mimeboxextensions= +multidisp=false +name=Hartman Lab +pack=adaptive +print=false +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +restoreexports=0 +rootless=false +sessiontitle= +setdpi=true +setsessiontitle=0 +sndport=4713 +sound=false +soundsystem=pulse +soundtunnel=true +speed=3 +sshport=22 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=auto +uniquehostkeyaliases=0 +useexports=1 +useiconv=false +usekbd=true +usemimebox=0 +user=roessler +usesshproxy=false +variant= +width=1920 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false + +[20161102210455144] +applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autoconnect=0 +autologin=true +autostart=0 +clipboard=both +command=SHADOW +defsndport=false +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=96 +export= +forwardsshagent=0 +fstunnel=true +fullscreen=false +height=1080 +host=workstation.lan +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +key=/home/bryan/.ssh/id_rsa +krbdelegation=false +krblogin=false +layout=us +maxdim=false +mimeboxaction=OPEN +mimeboxextensions= +multidisp=false +name=Workstation +pack=16m-tight +print=false +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +restoreexports=0 +rootless=false +sessiontitle= +setdpi=true +setsessiontitle=0 +sndport=4713 +sound=false +soundsystem=pulse +soundtunnel=true +speed=3 +sshport=22 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=auto +uniquehostkeyaliases=0 +useexports=0 +useiconv=false +usekbd=true +usemimebox=0 +user=bryan +usesshproxy=false +variant= +width=1920 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false + +[20180402120430827] +applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autoconnect=0 +autologin=true +autostart=0 +clipboard=both +command=SHADOW +defsndport=false +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=96 +export= +forwardsshagent=0 +fstunnel=true +fullscreen=false +height=600 +host=home.bryanroessler.com +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +kdrive=false +key= +krbdelegation=false +krblogin=false +layout= +maxdim=false +mimeboxaction=OPEN +mimeboxextensions= +multidisp=false +name=Bryan-PC +pack=16m-png-jpeg +print=false +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +restoreexports=0 +rootless=false +sessiontitle= +setdpi=true +setsessiontitle=0 +sndport=4713 +sound=false +soundsystem=pulse +soundtunnel=true +speed=3 +sshport=8022 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=pc105/us +uniquehostkeyaliases=0 +useexports=0 +useiconv=false +usekbd=true +usemimebox=0 +user=bryan +usesshproxy=false +variant= +width=800 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false + +[20200610122259197] +applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autologin=true +clipboard=both +command=SHADOW +defsndport=true +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=159 +export= +fstunnel=true +fullscreen=false +height=600 +host=hartmanlab.genetics.uab.edu +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +kdrive=false +key= +krbdelegation=false +krblogin=false +maxdim=false +multidisp=false +name=jwrodger hartmanlab +pack=16m-jpeg +print=true +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +rootless=false +setdpi=true +sndport=4713 +sound=true +soundsystem=pulse +soundtunnel=true +speed=2 +sshport=22 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=auto +useiconv=false +usekbd=true +user=jwrodger +usesshproxy=false +width=800 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false + +[20240628174700221] +applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL +autologin=false +clipboard=both +command=MATE +defsndport=true +directrdp=false +directrdpsettings= +directxdmcp=false +directxdmcpsettings= +display=1 +dpi=96 +export= +fstunnel=true +fullscreen=false +height=1000 +host=hartmanlab.genetics.uab.edu +icon=:/img/icons/128x128/x2gosession.png +iconvfrom=ISO8859-1 +iconvto=UTF-8 +kdrive=false +key= +krbdelegation=false +krblogin=false +maxdim=false +multidisp=false +name=Hartman Lab (Testing) +pack=64k-png +print=false +published=false +quality=9 +rdpclient=rdesktop +rdpoptions= +rdpport=3389 +rdpserver= +rootless=false +setdpi=true +sndport=4713 +sound=false +soundsystem=pulse +soundtunnel=true +speed=3 +sshport=22 +sshproxyautologin=false +sshproxyhost= +sshproxykeyfile= +sshproxykrblogin=false +sshproxyport=22 +sshproxysamepass=false +sshproxysameuser=false +sshproxytype=SSH +sshproxyuser= +startsoundsystem=true +type=auto +useiconv=false +usekbd=true +user=testbr +usesshproxy=false +width=1920 +xdmcpclient=Xnest +xdmcpserver=localhost +xinerama=false diff --git a/dotfiles/common/root/etc/sysconfig/btrfsmaintenance b/dotfiles/common/root/etc/sysconfig/btrfsmaintenance new file mode 100644 index 0000000..cb5e13b --- /dev/null +++ b/dotfiles/common/root/etc/sysconfig/btrfsmaintenance @@ -0,0 +1,154 @@ +## Path: System/File systems/btrfs +## Type: string(none,stdout,journal,syslog) +## Default: "stdout" +# +# Output target for messages. Journal and syslog messages are tagged by the task name like +# 'btrfs-scrub' etc. +BTRFS_LOG_OUTPUT="journal" + +## Path: System/File systems/btrfs +## Type: string +## Default: "" +# +# Run periodic defrag on selected paths. The files from a given path do not +# cross mount points or other subvolumes/snapshots. If you want to defragment +# nested subvolumes, all have to be listed in this variable. +# (Colon separated paths) +BTRFS_DEFRAG_PATHS="" + +## Path: System/File systems/btrfs +## Type: string(none,daily,weekly,monthly) +## Default: "none" +## ServiceRestart: btrfsmaintenance-refresh +# +# Frequency of defrag. +BTRFS_DEFRAG_PERIOD="none" + +## Path: System/File systems/btrfs +## Type: string +## Default: "+1M" +# +# Minimal file size to consider for defragmentation +BTRFS_DEFRAG_MIN_SIZE="+1M" + +## Path: System/File systems/btrfs +## Type: string +## Default: "/" +# +# Which mountpoints/filesystems to balance periodically. This may reclaim unused +# portions of the filesystem and make the rest more compact. +# (Colon separated paths) +# The special word/mountpoint "auto" will evaluate all mounted btrfs +# filesystems +BTRFS_BALANCE_MOUNTPOINTS="auto" + +## Path: System/File systems/btrfs +## Type: string(none,daily,weekly,monthly) +## Default: "weekly" +## ServiceRestart: btrfsmaintenance-refresh +# +# Frequency of periodic balance. +# +# The frequency may be specified using one of the listed values or +# in the format documented in the "Calendar Events" section of systemd.time(7), +# if available. +BTRFS_BALANCE_PERIOD="weekly" + +## Path: System/File systems/btrfs +## Type: string +## Default: "5 10" +# +# The usage percent for balancing data block groups. +# +# Note: default values should not disturb normal work but may not reclaim +# enough block groups. If you observe that, add higher values but beware that +# this will increase IO load on the system. +BTRFS_BALANCE_DUSAGE="0 20 50 80" + +## Path: System/File systems/btrfs +## Type: string +## Default: "5" +# +# The usage percent for balancing metadata block groups. The values are also +# used in case the filesystem has mixed blockgroups. +# +# Note: default values should not disturb normal work but may not reclaim +# enough block groups. If you observe that, add higher values but beware that +# this will increase IO load on the system. +BTRFS_BALANCE_MUSAGE="80" + +## Path: System/File systems/btrfs +## Type: string +## Default: "/" +# +# Which mountpoints/filesystems to scrub periodically. +# (Colon separated paths) +# The special word/mountpoint "auto" will evaluate all mounted btrfs +# filesystems +BTRFS_SCRUB_MOUNTPOINTS="auto" + +## Path: System/File systems/btrfs +## Type: string(none,weekly,monthly) +## Default: "monthly" +## ServiceRestart: btrfsmaintenance-refresh +# +# Frequency of periodic scrub. +# +# The frequency may be specified using one of the listed values or +# in the format documented in the "Calendar Events" section of systemd.time(7), +# if available. +BTRFS_SCRUB_PERIOD="quarterly" + +## Path: System/File systems/btrfs +## Type: string(idle,normal) +## Default: "idle" +# +# Priority of IO at which the scrub process will run. Idle should not degrade +# performance but may take longer to finish. +BTRFS_SCRUB_PRIORITY="idle" + +## Path: System/File systems/btrfs +## Type: boolean +## Default: "false" +# +# Do read-only scrub and don't try to repair anything. +BTRFS_SCRUB_READ_ONLY="false" + +## Path: System/File systems/btrfs +## Description: Configuration for periodic fstrim +## Type: string(none,daily,weekly,monthly) +## Default: "none" +## ServiceRestart: btrfsmaintenance-refresh +# +# Frequency of periodic trim. Off by default so it does not collide with +# fstrim.timer . If you do not use the timer, turn it on here. The recommended +# period is 'weekly'. +# +# The frequency may be specified using one of the listed values or +# in the format documented in the "Calendar Events" section of systemd.time(7), +# if available. +BTRFS_TRIM_PERIOD="weekly" + +## Path: System/File systems/btrfs +## Description: Configuration for periodic fstrim - mountpoints +## Type: string +## Default: "/" +# +# Which mountpoints/filesystems to trim periodically. +# (Colon separated paths) +# The special word/mountpoint "auto" will evaluate all mounted btrfs +# filesystems +BTRFS_TRIM_MOUNTPOINTS="auto" + +## Path: System/File systems/btrfs +## Description: Configuration to allow concurrent jobs +## Type: boolean +## Default: "false" +# +# These maintenance tasks may compete for resources with each other, blocking +# out other tasks from using the file systems. This option will force +# these jobs to run in FIFO order when scheduled at overlapping times. This +# may include tasks scheduled to run when a system resumes or boots when +# the timer for these tasks(s) elapsed while the system was suspended +# or powered off. +BTRFS_ALLOW_CONCURRENCY="false" diff --git a/group_vars/all/services.yml b/group_vars/all/services.yml index 2ea9c39..7f531d8 100644 --- a/group_vars/all/services.yml +++ b/group_vars/all/services.yml @@ -3,6 +3,7 @@ services_system_enabled: - dnf-automatic.timer - btrfs-balance.timer - btrfs-scrub.timer + - btrfs-trim.timer - btrbk.timer - tailscaled @@ -12,3 +13,4 @@ services_user_enabled: services_system_disabled: - qemu-guest-agent - raid-check.timer + - fstrim.timer diff --git a/group_vars/all/software.yml b/group_vars/all/software.yml index b030c21..6160dd8 100644 --- a/group_vars/all/software.yml +++ b/group_vars/all/software.yml @@ -19,44 +19,44 @@ dnf_add_repofiles: dnf_remove: - abrt - - rhythmbox + - anaconda-live + - gnome-initial-setup - gnome-software - open-vm-tools-desktop - orca - - anaconda-live - - gnome-initial-setup + - rhythmbox dnf_install: - - rpmfusion-free-release - - zsh - - zsh-completions - - ShellCheck - btrbk + - btrfs-assistant - btrfsmaintenance - - vim - - htop - - remmina - calibre - - pinta - - toolbox + - cargo - code + - dnf-automatic + - flatpak + - gettext - gnome-tweaks - - wl-clipboard - - syncthing + - htop + - mediacenter35 + - mullvad-vpn + - nautilus-python + - pinta - profile-sync-daemon - python3-virtualenv - python3-virtualenvwrapper - - nautilus-python - - gettext + - remmina + - rpmfusion-free-release - setroubleshoot - - cargo - - flatpak + - ShellCheck - snapd + - syncthing - tailscale - - dnf5-plugin-automatic - - btrfs-assistant - - mullvad-vpn - - mediacenter35 + - toolbox + - vim + - wl-clipboard + - zsh + - zsh-completions # Cargo packages to install cargo_packages: diff --git a/group_vars/all/users.yml b/group_vars/all/users.yml index fd8b3a5..01ebb21 100644 --- a/group_vars/all/users.yml +++ b/group_vars/all/users.yml @@ -1,4 +1,4 @@ --- -users_configure: +users: - name: bryan shell: /usr/bin/zsh diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml index 155869b..c1624f4 100644 --- a/roles/users/tasks/main.yml +++ b/roles/users/tasks/main.yml @@ -2,5 +2,5 @@ ansible.builtin.user: name: "{{ item.name }}" shell: "{{ item.shell }}" - loop: "{{ users_configure }}" + loop: "{{ users }}" become: true