SHA256
1
0

Add btrfsmaintenance and x2go configs

This commit is contained in:
2025-12-14 19:35:56 -05:00
parent 36cd3c748c
commit abcec9e19e
6 changed files with 532 additions and 24 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -3,6 +3,7 @@ services_system_enabled:
- dnf-automatic.timer - dnf-automatic.timer
- btrfs-balance.timer - btrfs-balance.timer
- btrfs-scrub.timer - btrfs-scrub.timer
- btrfs-trim.timer
- btrbk.timer - btrbk.timer
- tailscaled - tailscaled
@@ -12,3 +13,4 @@ services_user_enabled:
services_system_disabled: services_system_disabled:
- qemu-guest-agent - qemu-guest-agent
- raid-check.timer - raid-check.timer
- fstrim.timer

View File

@@ -19,44 +19,44 @@ dnf_add_repofiles:
dnf_remove: dnf_remove:
- abrt - abrt
- rhythmbox - anaconda-live
- gnome-initial-setup
- gnome-software - gnome-software
- open-vm-tools-desktop - open-vm-tools-desktop
- orca - orca
- anaconda-live - rhythmbox
- gnome-initial-setup
dnf_install: dnf_install:
- rpmfusion-free-release
- zsh
- zsh-completions
- ShellCheck
- btrbk - btrbk
- btrfs-assistant
- btrfsmaintenance - btrfsmaintenance
- vim
- htop
- remmina
- calibre - calibre
- pinta - cargo
- toolbox
- code - code
- dnf-automatic
- flatpak
- gettext
- gnome-tweaks - gnome-tweaks
- wl-clipboard - htop
- syncthing - mediacenter35
- mullvad-vpn
- nautilus-python
- pinta
- profile-sync-daemon - profile-sync-daemon
- python3-virtualenv - python3-virtualenv
- python3-virtualenvwrapper - python3-virtualenvwrapper
- nautilus-python - remmina
- gettext - rpmfusion-free-release
- setroubleshoot - setroubleshoot
- cargo - ShellCheck
- flatpak
- snapd - snapd
- syncthing
- tailscale - tailscale
- dnf5-plugin-automatic - toolbox
- btrfs-assistant - vim
- mullvad-vpn - wl-clipboard
- mediacenter35 - zsh
- zsh-completions
# Cargo packages to install # Cargo packages to install
cargo_packages: cargo_packages:

View File

@@ -1,4 +1,4 @@
--- ---
users_configure: users:
- name: bryan - name: bryan
shell: /usr/bin/zsh shell: /usr/bin/zsh

View File

@@ -2,5 +2,5 @@
ansible.builtin.user: ansible.builtin.user:
name: "{{ item.name }}" name: "{{ item.name }}"
shell: "{{ item.shell }}" shell: "{{ item.shell }}"
loop: "{{ users_configure }}" loop: "{{ users }}"
become: true become: true