Updated system's configuration files for Archcraft
This commit is contained in:
parent
6efc58a624
commit
e024a9eb60
|
@ -0,0 +1,6 @@
|
|||
Section "InputClass"
|
||||
Identifier "tap-by-default"
|
||||
MatchIsTouchpad "on"
|
||||
MatchDriver "libinput"
|
||||
Option "Tapping" "on"
|
||||
EndSection
|
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# This file is parsed by pam_env module
|
||||
#
|
||||
# Syntax: simple "KEY=VAL" pairs on separate lines
|
||||
#
|
||||
QT_QPA_PLATFORMTHEME=qt5ct
|
||||
PATH="/usr/share/archcraft/scripts"
|
|
@ -0,0 +1,3 @@
|
|||
# File made in favor of the prominent and more up to date rtl8821ce dkms driver by tomaspinho on GitHub. ( https://github.com/tomaspinho/rtl8821ce#wi-fi-not-working-for-kernel--59)
|
||||
# As the kernels newer than 5.9 will crash and panic the kernel with the current broken version of this driver inbuilt in the linux kernel by realtek ( likely to be never fixed by realtek for linux ) ( it has some power delivery issues )
|
||||
blacklist rtw88_8821ce
|
|
@ -1,10 +1,22 @@
|
|||
To install [38;2;23;147;209mArch Linux[0m follow the installation guide:
|
||||
https://wiki.archlinux.org/title/Installation_guide
|
||||
|
||||
For Wi-Fi, authenticate to the wireless network using the [35miwctl[0m utility.
|
||||
For mobile broadband (WWAN) modems, connect with the [35mmmcli[0m utility.
|
||||
Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
|
||||
|
||||
After connecting to the internet, the installation guide can be accessed
|
||||
via the convenience script [35mInstallation_guide[0m.
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡃⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⠛⠳⢄⠀⠀⠀⠀⠀⠀⠀⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⢀⠀⠀⢀⣿⣿⣆⠀⠀⢀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀⠀⢰⣿⣿⣾⣿⣿⣿⣿⣷⣾⣿⣷⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⡿⠛⠛⠻⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀⠀⠀⣶⣿⣿⣿⡟⠀⠀⠀⠀⠘⣿⣿⣿⣷⡆⠀⠀⠀⢀⠀⠀⢻⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠙⢻⣿⣿⣷⡀⠀⠀⢀⣼⣿⣿⣿⡟⠃⠀⠀⠀⠀⠉⠲⢦⣿⣿⣿⣿⣿
|
||||
⣿⣿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿
|
||||
⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿
|
||||
⣿⠏⠀⠀⠀⠀⣀⣠⣴⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⣀⡀⠀⠀⠀⠀⠹⣿
|
||||
⢏⣀⣤⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⣄⣀⠹
|
||||
|
||||
Welcome to Archcraft, A minimal linux OS based on archlinux.
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
[udisks1]
|
||||
Identity=unix-group:storage
|
||||
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach
|
||||
ResultAny=yes
|
||||
|
||||
[udisks2]
|
||||
Identity=unix-group:storage
|
||||
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.encrypted-unlock;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.power-off-drive
|
||||
ResultAny=yes
|
||||
|
||||
[udisks2-other-seat]
|
||||
Identity=unix-group:storage
|
||||
Action=org.freedesktop.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.filesystem-unmount-others;org.freedesktop.udisks2.encrypted-unlock-other-seat;org.freedesktop.udisks2.eject-media-other-seat;org.freedesktop.udisks2.power-off-drive-other-seat
|
||||
ResultAny=yes
|
|
@ -0,0 +1,5 @@
|
|||
polkit.addRule(function(action, subject) {
|
||||
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
|
@ -0,0 +1,25 @@
|
|||
polkit.addRule(function(action, subject) {
|
||||
var YES = polkit.Result.YES;
|
||||
// NOTE: there must be a comma at the end of each line except for the last:
|
||||
var permission = {
|
||||
// required for udisks1:
|
||||
"org.freedesktop.udisks.filesystem-mount": YES,
|
||||
"org.freedesktop.udisks.luks-unlock": YES,
|
||||
"org.freedesktop.udisks.drive-eject": YES,
|
||||
"org.freedesktop.udisks.drive-detach": YES,
|
||||
// required for udisks2:
|
||||
"org.freedesktop.udisks2.filesystem-mount": YES,
|
||||
"org.freedesktop.udisks2.encrypted-unlock": YES,
|
||||
"org.freedesktop.udisks2.eject-media": YES,
|
||||
"org.freedesktop.udisks2.power-off-drive": YES,
|
||||
// required for udisks2 if using udiskie from another seat (e.g. systemd):
|
||||
"org.freedesktop.udisks2.filesystem-mount-other-seat": YES,
|
||||
"org.freedesktop.udisks2.filesystem-unmount-others": YES,
|
||||
"org.freedesktop.udisks2.encrypted-unlock-other-seat": YES,
|
||||
"org.freedesktop.udisks2.eject-media-other-seat": YES,
|
||||
"org.freedesktop.udisks2.power-off-drive-other-seat": YES
|
||||
};
|
||||
if (subject.isInGroup("storage")) {
|
||||
return permission[action.id];
|
||||
}
|
||||
});
|
|
@ -0,0 +1,8 @@
|
|||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
|
||||
action.id == "org.freedesktop.udisks.filesystem-mount-system-internal") &&
|
||||
subject.local && subject.active && subject.isInGroup("users"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
|
@ -0,0 +1,7 @@
|
|||
polkit.addRule(function(action, subject) {
|
||||
if (/^org\.freedesktop\.udisks\./.test(action.id)
|
||||
&& subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
|
@ -0,0 +1,10 @@
|
|||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.udisks.filesystem-mount") {
|
||||
if (subject.isInGroup("wheel"))
|
||||
return polkit.Result.YES;
|
||||
else
|
||||
return polkit.Result.AUTH_ADMIN_KEEP;
|
||||
} else if (/^org\.freedesktop\.udisks\./.test(action.id)) {
|
||||
return polkit.Result.AUTH_ADMIN_KEEP;
|
||||
}
|
||||
});
|
|
@ -0,0 +1,10 @@
|
|||
[Autologin]
|
||||
|
||||
# Whether sddm should automatically log back into sessions when they exit
|
||||
Relogin=false
|
||||
|
||||
# Name of session file for autologin session (if empty try last logged in)
|
||||
Session=openbox
|
||||
|
||||
# Username for autologin session
|
||||
User=liveuser
|
|
@ -0,0 +1,25 @@
|
|||
[Theme]
|
||||
|
||||
# Current theme name
|
||||
Current=archcraft
|
||||
|
||||
# Cursor theme used in the greeter
|
||||
CursorTheme=Qogirr
|
||||
|
||||
# Number of users to use as threshold
|
||||
# above which avatars are disabled
|
||||
# unless explicitly enabled with EnableAvatars
|
||||
DisableAvatarsThreshold=7
|
||||
|
||||
# Enable display of custom user avatars
|
||||
EnableAvatars=true
|
||||
|
||||
# Global directory for user avatars
|
||||
# The files should be named <username>.face.icon
|
||||
FacesDir=/usr/share/sddm/faces
|
||||
|
||||
# Font used in the greeter
|
||||
Font="Iosevka"
|
||||
|
||||
# Theme directory path
|
||||
ThemeDir=/usr/share/sddm/themes
|
|
@ -0,0 +1 @@
|
|||
Defaults env_reset,pwfeedback,insults
|
|
@ -0,0 +1 @@
|
|||
%wheel ALL=(ALL) NOPASSWD: ALL
|
|
@ -0,0 +1,2 @@
|
|||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
|
||||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
|
Loading…
Reference in New Issue