Skip to content

Commit

Permalink
v6 Update!
Browse files Browse the repository at this point in the history
- Grammar fixes for error messages and logs
  - Also synced up thee working so its standard, and easier to read.
  - Spelling fixes
- Fixes for better font settings
- Updated firefox config
- Python coding refactor
  - Replaced "ignore_errors=False" with "errors=True"
- Added a timeout for the User Manager service (15s)
- Extended the watchdog timer to daemon threads.
- Fixed a bug where reloading the log level would NOT update the client log level.
- Updated handeling of some paths to prevent any possible unwanted escaping.
- Disabled freezing the composer on lock
  - This causes issues with i3lock (makes it freeze)
- HYDRA updates!
  - Added SPICE support for all VMs! (enabled by default, can be disabled)
    - Including SPICE redirection of USB devices (up to 3 at once)!
    - Spice viewer by command line "hydra spice|s <vm>" or "hydra -cs <vm>"
  - Updated Hydra command line builder
    - Adds more options and new features to the VM (hopefully speed increases!)
  - Fixed and add QEMU Guest Agent integration
    - "hydra ip <vm>" or "hydra -I <vm>" now retrives the VM IP Addresses(s) (If the QEMU GA is installed)
    - Fixed a timeout error with QMP commands
  - Changed the Hydra JSON format.
    - Example JSON and Schema can now be generated by Hydra "hydra example" or "hydra schema"
  - Extra custom VM arguements now require "hydra.unsafe" to be true.
  - Improved path handeling of drives and disks
    - Cannot be executable
    - Cannot be SUID/GUID
    - Cannot be owned by root or privieleged accounts
  • Loading branch information
iDigitalFlame committed Feb 24, 2022
1 parent 474d447 commit 75f3483
Show file tree
Hide file tree
Showing 59 changed files with 4,219 additions and 3,894 deletions.
12 changes: 12 additions & 0 deletions etc/X11/xorg.conf.d/spaceport.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

Section "Files"
FontPath "/usr/share/fonts/Microsoft"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/adobe-source-code-pro"
FontPath "/usr/share/fonts/cantarell"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/liberation"
FontPath "/usr/share/fonts/nerd-fonts"
FontPath "/usr/share/fonts/noto"
EndSection

Section "Device"
Identifier "Intel Graphics"
Option "Accel" "true"
Expand Down
35 changes: 35 additions & 0 deletions etc/fonts/conf.d/basics.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--
Basic Fonts Configuration

System Management Daemon

Copyright (C) 2016 - 2022 iDigitalFlame

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
28 changes: 21 additions & 7 deletions etc/fonts/conf.d/smooth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,32 @@
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match>
<edit mode="prepend" name="family"><string>Noto Sans</string></edit>
<edit mode="prepend" name="family">
<string>Noto Sans</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Serif</string></edit>
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Noto Serif</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Sans</string></edit>
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Noto Sans</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Mono</string></edit>
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Noto Mono</string>
</edit>
</match>
</fontconfig>
6 changes: 3 additions & 3 deletions etc/fstab.nlk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ tmpfs /dev/shm tmpfs
efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,noexec,nodev,noatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,nosuid,noexec,nodev,noatime,mode=01770,gid=992,pagesize=2M 0 0
UUID=0875-8C79 /boot vfat rw,nosuid,noexec,nodev,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2
UUID=382c11e7-dbfe-47b3-abcb-ebd1d5b789bc /var btrfs rw,nosuid,noexec,nodev,noatime,compress=zstd,ssd,space_cache,subvolid=256,subvol=/base,discard=async 0 0
UUID=382c11e7-dbfe-47b3-abcb-ebd1d5b789bc /var btrfs rw,nosuid,noexec,nodev,noatime,compress=zstd,ssd,space_cache=v2,subvolid=256,subvol=/base,discard=async 0 0
UUID=98bb4cdf-2fa0-4584-b141-248e1ccc6a47 /opt/hydra xfs rw,nosuid,noexec,nodev,noatime,noquota,inode64 0 0
UUID=de28fca4-4a3e-44f2-933e-2b38c42bb2bd /home btrfs rw,nosuid,nodev,noatime,compress=zstd,ssd,space_cache,subvolid=256,subvol=/base,discard=async 0 0
UUID=6570b1c1-ac5d-4655-91fa-4f2c9785cf7f / btrfs ro,nodev,noatime,compress=zstd,ssd,space_cache,subvolid=256,subvol=/base,discard=async 0 0
UUID=de28fca4-4a3e-44f2-933e-2b38c42bb2bd /home btrfs rw,nosuid,nodev,noatime,compress=zstd,ssd,space_cache=v2,subvolid=256,subvol=/base,discard=async 0 0
UUID=6570b1c1-ac5d-4655-91fa-4f2c9785cf7f / btrfs ro,nodev,noatime,compress=zstd,ssd,space_cache=v2,subvolid=256,subvol=/base,discard=async 0 0
UUID=55d5c0d7-d2cf-4f30-8730-7f99c407eafa none swap defaults,discard,pri=-2 0 0
26 changes: 22 additions & 4 deletions etc/sudoers.d/spaceport
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,32 @@ Cmnd_Alias UTILITIES = /usr/bin/nmap, /usr/bin/umount, /usr/bin/sync, /usr/lib/
Cmnd_Alias SYSTEM = /usr/bin/systemctl hibernate, /usr/bin/systemctl suspend, /usr/bin/reboot, /usr/bin/poweroff

Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
Defaults env_keep += "HOME"
Defaults env_keep += "XDG_SESSION_COOKIE"
Defaults env_keep += "HOME"
Defaults env_keep = "LESSSECURE=1"
Defaults tty_tickets
Defaults log_allowed
Defaults log_denied
Defaults sudoedit_checkdir
Defaults insults
Defaults !setenv
Defaults !log_host
Defaults !fqdn
Defaults !env_editor
Defaults !fast_glob
Defaults !requiretty
Defaults !root_sudo
Defaults !rootpw
Defaults !sudoedit_follow
Defaults !visiblepw
Defaults !pwfeedback
Defaults lecture = "never"
Defaults listpw = "always"
Defaults passwd_tries = 3
Defaults verifypw = "always"
Defaults timestamp_timeout = 1
Defaults editor = /usr/bin/rnano
Defaults editor = "/usr/bin/rnano"
Defaults secure_path = "/usr/lib/smd/sbin:/usr/bin"
Defaults !pwfeedback
Defaults insults

dij ALL=(root) ALL
dij ALL=(root) NOPASSWD: SYSTEM
Expand Down
2 changes: 1 addition & 1 deletion etc/systemd/logind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ InhibitorsMax = 8192
HandlePowerKey = suspend
HandleLidSwitch = ignore
HandleRebootKey = reboot
UserStopDelaySec = 10
UserStopDelaySec = 10s
HandleSuspendKey = suspend
KillExcludeUsers = root
KillUserProcesses = yes
Expand Down
5 changes: 3 additions & 2 deletions etc/systemd/system.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ DefaultIOAccounting = no
DefaultIPAccounting = no
DefaultStandardError = inherit
DefaultCPUAccounting = no
DefaultTimeoutStopSec = 30s
DefaultTimeoutStopSec = 15s
DefaultStandardOutput = journal
CtrlAltDelBurstAction = reboot-force
DefaultTimeoutStartSec = 30s
DefaultTimeoutStartSec = 15s
DefaultTimeoutAbortSec = 15s
DefaultStartLimitBurst = 5
DefaultTasksAccounting = yes
DefaultTimerAccuracySec = 1min
Expand Down
2 changes: 1 addition & 1 deletion etc/systemd/system/ldconfig.service.d/override.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ ConditionFileNotEmpty =

[Service]
ExecStart =
ExecStart = /sbin/ldconfig -XC /var/cache/ld.so.cache
ExecStart = /sbin/ldconfig -XC /var/cache/ld.so.cache
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

[Service]
ExecStart =
ExecStart = /usr/bin/echo
ExecStart = /usr/bin/echo
23 changes: 23 additions & 0 deletions etc/systemd/system/user@.service.d/override.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/false
# User Manager Service Override
#
# System Management Daemon
#
# Copyright (C) 2016 - 2022 iDigitalFlame
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

[Service]
TimeouitStopSec = 15s
3 changes: 3 additions & 0 deletions packages-aur.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
c-lolcat
cnijfilter-mg5300series
dvm
evernote-for-linux-bin
firefox-auto-tab-discard
firefox-extension-canvasblocker
Expand All @@ -15,5 +17,6 @@ korla-icon-theme
novnc
osslsigncode
powershell-bin
python-websockify
surf
ttf-weather-icons
4 changes: 2 additions & 2 deletions packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ bluez
bluez-utils
btrfs-progs
bzip2
c-lolcat
chaotic-keyring
chaotic-mirrorlist
cifs-utils
Expand All @@ -26,7 +25,6 @@ cups
device-mapper
dhcpcd
diffutils
discord
dnsmasq
dosfstools
dunst
Expand Down Expand Up @@ -116,6 +114,7 @@ nmap
noto-fonts-emoji
ntfs-3g
onboard
onefetch
openbsd-netcat
openssh
openvpn
Expand Down Expand Up @@ -156,6 +155,7 @@ sed
shadow
skippy-xd-git
slack-desktop
spice-gtk
squid
sudo
swig
Expand Down
83 changes: 82 additions & 1 deletion spaceport.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,86 @@
"path": "."
}
],
"settings": {}
"settings": {
"cSpell.words": [
"acpi",
"bavail",
"bluectl",
"brightnessctl",
"cpuctl",
"cpus",
"dmenu",
"dpms",
"EPOLLERR",
"EPOLLHUP",
"EPOLLIN",
"errno",
"fcntl",
"fehbg",
"fileno",
"frsize",
"GETFL",
"getpwnam",
"Govs",
"hpet",
"ifname",
"INET",
"inkey",
"iommu",
"iothread",
"ISUID",
"ISVTX",
"ITHRESHOLD",
"IWGRP",
"IWOTH",
"IXGRP",
"IXOTH",
"IXUSR",
"KMGTPEZ",
"lockctl",
"lockerctl",
"lupx",
"maxcpus",
"netdev",
"passdb",
"pbkdf",
"pformat",
"pidfile",
"piix",
"pkeyutl",
"prealloc",
"productid",
"pubin",
"RDWR",
"reloadctl",
"renice",
"resolv",
"REUSEADDR",
"rotatectl",
"runas",
"SETFL",
"SIGALRM",
"spicevmc",
"statvfs",
"tdbsam",
"tpmdev",
"uefi",
"uhci",
"unhalt",
"vapic",
"vendorid",
"vhost",
"virt",
"virtserialport",
"vmdesc",
"vmhost",
"vmport",
"vncviewer",
"wifictl",
"xattrs",
"xdev",
"xhci",
"xrandr"
]
}
}
1 change: 1 addition & 0 deletions usr/lib/firefox/defaults/pref/firefox.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ lockPref("privacy.override_rfp_for_color_scheme"
lockPref("privacy.resistFingerprinting" , true);
lockPref("privacy.resistFingerprinting.letterboxing" , false);
lockPref("privacy.resistFingerprinting.block_mozAddonManager" , true);
lockPref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts" , true);
lockPref("privacy.spoof_english" , 2);
lockPref("privacy.trackingprotection.annotate_channels" , false);
lockPref("privacy.trackingprotection.cryptomining.enabled" , true);
Expand Down
Loading

0 comments on commit 75f3483

Please sign in to comment.