From 2d48b7e38103dc5fd026954a50ca3dd167824ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Sun, 22 Dec 2019 10:29:50 +0100 Subject: [PATCH] [nxd] initial profile --- manjaro/nxd/Packages-Desktop | 364 ++++++++++++++++++ manjaro/nxd/Packages-Live | 9 + manjaro/nxd/Packages-Mhwd | 58 +++ manjaro/nxd/Packages-Root | 92 +++++ manjaro/nxd/desktop-overlay/etc/pam.d/sddm | 8 + manjaro/nxd/desktop-overlay/etc/sddm.conf | 129 +++++++ .../etc/sysctl.d/50-max_user_watches.conf | 1 + manjaro/nxd/live-overlay/etc/default/grub | 49 +++ manjaro/nxd/live-overlay/etc/default/tlp | 221 +++++++++++ manjaro/nxd/live-overlay/etc/fstab | 5 + manjaro/nxd/live-overlay/etc/issue | 13 + manjaro/nxd/live-overlay/etc/pam.d/su | 6 + .../etc/skel/.config/kcmdisplayrc | 9 + .../etc/skel/.config/kscreenlockerrc | 3 + .../live-overlay/etc/skel/.config/kwalletrc | 11 + .../manjaro/manjaro-settings-manager.conf | 7 + manjaro/nxd/profile.conf | 81 ++++ 17 files changed, 1066 insertions(+) create mode 100644 manjaro/nxd/Packages-Desktop create mode 100644 manjaro/nxd/Packages-Live create mode 100644 manjaro/nxd/Packages-Mhwd create mode 100644 manjaro/nxd/Packages-Root create mode 100644 manjaro/nxd/desktop-overlay/etc/pam.d/sddm create mode 100644 manjaro/nxd/desktop-overlay/etc/sddm.conf create mode 100644 manjaro/nxd/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf create mode 100644 manjaro/nxd/live-overlay/etc/default/grub create mode 100644 manjaro/nxd/live-overlay/etc/default/tlp create mode 100644 manjaro/nxd/live-overlay/etc/fstab create mode 100644 manjaro/nxd/live-overlay/etc/issue create mode 100644 manjaro/nxd/live-overlay/etc/pam.d/su create mode 100644 manjaro/nxd/live-overlay/etc/skel/.config/kcmdisplayrc create mode 100755 manjaro/nxd/live-overlay/etc/skel/.config/kscreenlockerrc create mode 100644 manjaro/nxd/live-overlay/etc/skel/.config/kwalletrc create mode 100644 manjaro/nxd/live-overlay/etc/skel/.config/manjaro/manjaro-settings-manager.conf create mode 100644 manjaro/nxd/profile.conf diff --git a/manjaro/nxd/Packages-Desktop b/manjaro/nxd/Packages-Desktop new file mode 100644 index 0000000..40bdad7 --- /dev/null +++ b/manjaro/nxd/Packages-Desktop @@ -0,0 +1,364 @@ +## Network +avahi +networkmanager +networkmanager-openconnect +networkmanager-openvpn +networkmanager-pptp +networkmanager-vpnc +nss-mdns # NSS support for mDNS (optdepend for avahi) +ntp +mobile-broadband-provider-info +modemmanager +openresolv +openssh +samba +usb_modeswitch + +## Libraries for Sound/Audio/Video +alsa-firmware +alsa-utils +ffmpeg +gst-libav +gst-plugins-bad +gst-plugins-base +gst-plugins-good +gst-plugins-ugly +libcanberra +>multilib lib32-libcanberra +libcanberra-pulse +>multilib lib32-libcanberra-pulse +libcanberra-gstreamer +libdvdcss +manjaro-alsa +manjaro-pulse +phonon-qt5-gstreamer +pulseaudio-bluetooth +pulseaudio-ctl +pulseaudio-zeroconf + +## Connect Packages +android-tools +android-udev +gvfs +gvfs-afc +gvfs-gphoto2 +gvfs-mtp +gvfs-nfs +gvfs-smb +kamera +mtpfs +udiskie +udisks2 + +## AUR Support/Development +# Missing base-devel packages +>extra autoconf +>extra automake +>extra binutils +>extra bison +>extra fakeroot +>extra flex +>extra gcc +>extra >multilib gcc-libs-multilib +>extra >multilib gcc-multilib +>extra libtool +>extra m4 +>extra make +>extra patch +>extra pkg-config +>extra >multilib lib32-flex +# Extra packages for AUR support +>extra git +>extra patchutils +>extra subversion +#yaourt + +## Fonts +# cantarell-fonts # Installed as gnome-themes-standard dependency +noto-fonts # default font +noto-fonts-cjk # asian fonts - needed big package, ~76 mb compressed +>extra noto-fonts-emoji +terminus-font +>extra ttf-bitstream-vera +# ttf-dejavu # Installed as gnome-themes-standard dependency +# ttf-hack # Installed as plasma-integration dependency +>extra ttf-inconsolata +>extra ttf-indic-otf +>extra ttf-liberation +>extra ttf-droid + +## Games +>x86_64 >extra steam-manjaro + +## Package management +#appimagelauncher +pamac +pamac-tray-appindicator +pamac-cli +>extra apparmor +>extra snapd +>extra snapd-glib +>extra pamac-snap-plugin +#discover-snap +#discover +#packagekit-qt5 +>extra flatpak +>extra bauh +>extra fwupd +#octopi +#octopi-cachecleaner +#octopi-repoeditor +#octopi-notifier-frameworks +#pamac-qt +manjaro-application-utility + +## Printing +>extra cups +>extra cups-pdf +>extra cups-pk-helper +>extra ghostscript +>extra gsfonts +>extra gtk3-print-backends +>extra hplip +>extra splix + +## Optional dependencies for hplip +>extra pyqt5-common +>extra python-pillow +>extra python-pip +>extra python-pyqt5 +>extra python-reportlab + +## Optional dependencies for print-manager +>extra system-config-printer # auto-detect the printer driver +>extra python-pysmbc # SMB browser support + +## Display manager +sddm +sddm-kcm + +## Plasma5 +bluedevil +kde-gtk-config +kdeplasma-addons +kgamma5 +kinfocenter +kmenuedit +kscreen +kscreenlocker +ksshaskpass +ksysguard +kwallet-pam +kwayland-integration +kwin +qt5-virtualkeyboard # Virtual keyboard support for kwin-wayland +kwrited +milou +plasma-desktop +plasma-nm +plasma-pa +plasma-workspace +>extra plasma-workspace-wallpapers +powerdevil +systemsettings +user-manager + +## NX Desktop Customization Layer + +fonts-nx-desktop +#grub2-theme-nitrux +#qt5-style-kvantum +luv-icon-theme +nx-audio-applet +nx-clock-applet +nx-desktop-settings +nx-firewall +nx-gtk-themes +nx-kvantum-theme +nx-networkmanagement-applet +nx-notifications-applet +nx-plasma-look-and-feel +nx-simplemenu-applet +nx-systemtray-applet +nx-welcome-wizard + +## NX Desktop Applications + +index +vvave +plasma-pix +plasma-nota +nx-appimages +startup-notification # needed for waterfox + +## Themes QT/GTK/SDDM +#breeze +#breeze-gtk +gnome-icon-theme +gnome-themes-standard +gtk-theme-breath +oxygen # needed to provide KDE system sounds +oxygen-icons +plasma5-themes-breath # Default +sddm-breath-theme # Default +grub-theme-manjaro +illyria-wallpaper +>extra wallpapers-juhraya +>extra wallpapers-2018 +>extra manjaro-wallpapers-18.0 + +## Better systray/notifications support +#>extra sni-qt # A Qt plugin that enables tray icons in qt4 applications + +## KDE Applications +ark +#>extra digikam +dolphin +dolphin-plugins +>extra filelight +#>extra k3b +kate +kcalc +>extra keditbookmarks +kfind +kdeconnect +okular +>extra >x86_64 kget +>extra >x86_64 libktorrent +>extra >i686 kdenetwork-kget +kdenetwork-filesharing +#>extra kdenlive +kde-servicemenus-rootactions +khelpcenter +kio-extras +#>extra kleopatra +konsole +konversation +ksystemlog +kwalletmanager +gwenview +partitionmanager3 +>extra print-manager +>extra skanlite +spectacle + +## Optional dependencies for ark +p7zip # 7Z format support +unarchiver # RAR format support + +## Optional dependency for digikam +#>extra kipi-plugins # export to various online services +#>extra hugin # panorama tool + +## Optional dependencies for dolphin +kdegraphics-thumbnailers # PDF and PS thumbnails +ffmpegthumbs # video thumbnails +ruby # installing new service menus with GHNS + +## Optional dependencies for gwenview +kimageformats # support for dds, xcf, exr, psd, and more image formats +qt5-imageformats # support for tiff, webp, and more image formats + +## Optional dependencies for k3b +#>extra cdparanoia # for cd ripping support +#>extra cdrdao # for disk-at-once (DAO) mode support +#>extra dvd+rw-tools # for dvd burning support +#>extra emovix # for bootable multimedia cd/dvd support +#>extra transcode # for advanced mpeg conversion support +#>extra vcdimager # for vcd burning support + +## Optional dependencies for kaccounts-integration +kaccounts-providers + +## Optional dependencies for kdeconnect +sshfs # remote filesystem browser + +## Optional dependencies for kdenlive +#>extra cdrtools # for creation of DVD ISO images +#>extra dvdauthor # for creation of DVD +#>extra dvgrab # for firewire capture +#>extra recordmydesktop # for screen capture +#>extra vlc-nightly # for DVD preview, needs xine-ui or vlc, vlc is in "Applications" section +#>extra movit # for GPU video processing + +## Optional dependencies for okular +poppler-data # encoding data to display PDF documents containing CJK characters + +## Applications +#>extra cantata +dmidecode # for inxi -m output +htop +#imagewriter +inxi +#>extra krita +#>extra firefox +#>basic falkon +#ms-office-online +#>extra freeoffice +#>extra libreoffice-still +#>extra calligra +#manjaro-hello +manjaro-settings-manager-kcm +manjaro-settings-manager-knotifier +powertop +#>extra qbittorrent +#screenfetch +systemd-kcm +#>extra thunderbird +#>extra vlc +#vlc-nightly +#yakuake + +## Optional dependencis for cantata +#>extra mpd # playback +#>extra perl-uri # dynamic playlist + +## Optional dependencies for libreoffice +#>extra jre8-openjdk +#>extra jdk8-openjdk + +## Documentation +manjaro-documentation-en + +## Settings packages +#>extra manjaro-kde-settings +#>basic manjaro-kde-minimal-settings +manjaro-browser-settings + +## Xorg Input Drivers +xf86-input-elographics +xf86-input-evdev +xf86-input-libinput +xf86-input-void + +## Xorg Server and Graphics +>multilib lib32-libva-intel-driver +>multilib lib32-libva-mesa-driver +>multilib lib32-libva-vdpau-driver +libva-intel-driver +libva-mesa-driver +libva-vdpau-driver +mesa-demos +>multilib lib32-mesa-demos +numlockx +xdg-user-dirs +xorg-server +xorg-twm +xorg-xinit +xorg-xkill + +## Desktop Utils +perl-file-mimeinfo +xdg-utils +xdg-su +>extra timeshift +>extra kernel-alive + +## Misc +manjaro-hotfixes +>basic squashfs-tools + +## Flatpak support +>extra flatpak +>extra xdg-desktop-portal +>extra xdg-desktop-portal-kde diff --git a/manjaro/nxd/Packages-Live b/manjaro/nxd/Packages-Live new file mode 100644 index 0000000..4e8518a --- /dev/null +++ b/manjaro/nxd/Packages-Live @@ -0,0 +1,9 @@ +calamares +>manjaro grub-theme-live-manjaro +gsmartcontrol +manjaro-architect +manjaro-live-skel +manjaro-live-systemd +mkinitcpio-nfs-utils +nbd +clonezilla diff --git a/manjaro/nxd/Packages-Mhwd b/manjaro/nxd/Packages-Mhwd new file mode 100644 index 0000000..5936d72 --- /dev/null +++ b/manjaro/nxd/Packages-Mhwd @@ -0,0 +1,58 @@ +## The following is only temp for 18.1-rc7 +>extra libreoffice-still +>extra freeoffice + +## Normal MHWD package list + +KERNEL-bbswitch +KERNEL-broadcom-wl +#KERNEL-r8168 +KERNEL-zfs +zfs-utils +#KERNEL-rt3562sta +KERNEL-virtualbox-guest-modules +libva-intel-driver +libva-mesa-driver +libva-vdpau-driver +>multilib lib32-libva-vdpau-driver +libxaw +libxpm +libxvmc +mesa-vdpau +>multilib lib32-mesa-vdpau +>multilib lib32-libxvmc +>multilib lib32-primus +#>nonfree_default catalyst-utils +#>nonfree_default KERNEL-catalyst +#>nonfree_default KERNEL-nvidia-340xx +>nonfree_default KERNEL-nvidia-390xx +>nonfree_x86_64 KERNEL-nvidia-418xx +>nonfree_default nvidia-340xx-utils +>nonfree_default nvidia-390xx-utils +>nonfree_x86_64 nvidia-418xx-utils +#>nonfree_multilib lib32-catalyst-utils +>nonfree_multilib lib32-nvidia-418xx-utils +#>nonfree_multilib lib32-nvidia-340xx-utils +>nonfree_multilib lib32-nvidia-390xx-utils +opencl-mesa +open-vm-tools +pangox-compat +primus +bumblebee +virtualbox-guest-utils +vulkan-radeon +>multilib lib32-vulkan-radeon +vulkan-intel +>multilib lib32-vulkan-intel +xf86-input-vmmouse +xf86-video-amdgpu +xf86-video-ati +xf86-video-dummy +xf86-video-fbdev +xf86-video-intel +xf86-video-nouveau +xf86-video-openchrome +xf86-video-sisusb +xf86-video-vesa +xf86-video-vmware +xf86-video-voodoo diff --git a/manjaro/nxd/Packages-Root b/manjaro/nxd/Packages-Root new file mode 100644 index 0000000..0a02078 --- /dev/null +++ b/manjaro/nxd/Packages-Root @@ -0,0 +1,92 @@ +>i686 archlinux32-keyring +>manjaro manjaro-release +>multilib gcc-libs-multilib +acpi +acpid +amd-ucode +b43-fwcutter +bash-completion +btrfs-progs +bzip2 +coreutils +cpupower +crda +cronie +cryptsetup +device-mapper +dhclient +dhcpcd +diffutils +dmraid +dnsmasq +dosfstools +e2fsprogs +ecryptfs-utils +efibootmgr +exfat-utils +f2fs-tools +file +filesystem +findutils +gawk +gcc-libs +gettext +glibc +grep +grub +gzip +haveged +inetutils +intel-ucode +iproute2 +iptables +iputils +ipw2100-fw +ipw2200-fw +jfsutils +KERNEL +less +licenses +linux-firmware +logrotate +lsb-release +lvm2 +man-db +man-pages +manjaro-firmware +manjaro-system +mdadm +memtest86+ +mhwd +mhwd-db +mkinitcpio-openswap +nano +nfs-utils +ntfs-3g +os-prober +pacman +pciutils +perl +procps-ng +psmisc +reiserfsprogs +rsync +s-nail +sed +shadow +spectre-meltdown-checker +sudo +sysfsutils +systemd-fsck-silent +systemd-sysvcompat +tar +texinfo +tlp +usbutils +util-linux +vi +wget +which +wpa_supplicant +xfsprogs +zsh diff --git a/manjaro/nxd/desktop-overlay/etc/pam.d/sddm b/manjaro/nxd/desktop-overlay/etc/pam.d/sddm new file mode 100644 index 0000000..1ed30b3 --- /dev/null +++ b/manjaro/nxd/desktop-overlay/etc/pam.d/sddm @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth include system-login +auth optional pam_kwallet5.so +account include system-login +password include system-login +session include system-login +session optional pam_kwallet5.so auto_start diff --git a/manjaro/nxd/desktop-overlay/etc/sddm.conf b/manjaro/nxd/desktop-overlay/etc/sddm.conf new file mode 100644 index 0000000..9f46d10 --- /dev/null +++ b/manjaro/nxd/desktop-overlay/etc/sddm.conf @@ -0,0 +1,129 @@ +[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=plasma.desktop + +# Username for autologin session +User= + + +[General] +# Halt command +HaltCommand=/usr/bin/systemctl poweroff + +# Input method module +InputMethod= + +# Initial NumLock state. Can be on, off or none. +# If property is set to none, numlock won't be changed +# NOTE: Currently ignored if autologin is enabled. +Numlock=none + +# Reboot command +RebootCommand=/usr/bin/systemctl reboot + + +[Theme] +# Current theme name +Current=breath + +# Cursor theme used in the greeter +CursorTheme=breeze_cursors + +# 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 .face.icon +FacesDir=/usr/share/sddm/faces + +# Theme directory path +ThemeDir=/usr/share/sddm/themes + + +[Users] +# Default $PATH for logged in users +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin + +# Comma-separated list of shells. +# Users with these shells as their default won't be listed +HideShells= + +# Comma-separated list of users that should not be listed +HideUsers= + +# Maximum user id for displayed users +MaximumUid=60000 + +# Minimum user id for displayed users +MinimumUid=1000 + +# Remember the session of the last successfully logged in user +RememberLastSession=true + +# Remember the last successfully logged in user +RememberLastUser=true + +# When logging in as the same user twice, restore the original session, rather than create a new one +ReuseSession=false + + +[Wayland] +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=false + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/wayland-session + +# Directory containing available Wayland sessions +SessionDir=/usr/share/wayland-sessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/wayland-session.log + + +[X11] +# Path to a script to execute when starting the display server +DisplayCommand=/usr/share/sddm/scripts/Xsetup + +# Path to a script to execute when stopping the display server +DisplayStopCommand=/usr/share/sddm/scripts/Xstop + +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=false + +# The lowest virtual terminal number that will be used. +MinimumVT=1 + +# Arguments passed to the X server invocation +ServerArguments=-nolisten tcp + +# Path to X server binary +ServerPath=/usr/bin/X + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/Xsession + +# Directory containing available X sessions +SessionDir=/usr/share/xsessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/xorg-session.log + +# Path to the Xauthority file +UserAuthFile=.Xauthority + +# Path to xauth binary +XauthPath=/usr/bin/xauth + +# Path to Xephyr binary +XephyrPath=/usr/bin/Xephyr + + diff --git a/manjaro/nxd/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf b/manjaro/nxd/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf new file mode 100644 index 0000000..afb47d1 --- /dev/null +++ b/manjaro/nxd/desktop-overlay/etc/sysctl.d/50-max_user_watches.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches = 16384 diff --git a/manjaro/nxd/live-overlay/etc/default/grub b/manjaro/nxd/live-overlay/etc/default/grub new file mode 100644 index 0000000..933c5c6 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/default/grub @@ -0,0 +1,49 @@ +GRUB_DEFAULT=saved +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="Manjaro" +GRUB_CMDLINE_LINUX_DEFAULT="" +GRUB_CMDLINE_LINUX="" + +# If you want to enable the save default function, uncomment the following +# line, and set GRUB_DEFAULT to saved. +GRUB_SAVEDEFAULT=true + +# Preload both GPT and MBR modules so that they are not missed +GRUB_PRELOAD_MODULES="part_gpt part_msdos" + +# Uncomment to enable Hidden Menu, and optionally hide the timeout count +#GRUB_HIDDEN_TIMEOUT=5 +#GRUB_HIDDEN_TIMEOUT_QUIET=true + +# Uncomment to use basic console +GRUB_TERMINAL_INPUT=console + +# Uncomment to disable graphical terminal +#GRUB_TERMINAL_OUTPUT=console + +# The resolution used on graphical terminal +# note that you can use only modes which your graphic card supports via VBE +# you can see them in real GRUB with the command `vbeinfo' +GRUB_GFXMODE=auto + +# Uncomment to allow the kernel use the same resolution used by grub +GRUB_GFXPAYLOAD_LINUX=keep + +# Uncomment if you want GRUB to pass to the Linux kernel the old parameter +# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" +#GRUB_DISABLE_LINUX_UUID=true + +# Uncomment to disable generation of recovery mode menu entries +GRUB_DISABLE_RECOVERY=true + +# Uncomment and set to the desired menu colors. Used by normal and wallpaper +# modes only. Entries specified as foreground/background. +GRUB_COLOR_NORMAL="light-gray/black" +GRUB_COLOR_HIGHLIGHT="green/black" + +# Uncomment one of them for the gfx desired, a image background or a gfxtheme +#GRUB_BACKGROUND="/usr/share/grub/background.png" +#GRUB_THEME="/path/to/gfxtheme" + +# Uncomment to get a beep at GRUB start +#GRUB_INIT_TUNE="480 440 1" diff --git a/manjaro/nxd/live-overlay/etc/default/tlp b/manjaro/nxd/live-overlay/etc/default/tlp new file mode 100644 index 0000000..c33ece3 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/default/tlp @@ -0,0 +1,221 @@ +# ------------------------------------------------------------------------------ +# tlp - Parameters for power save + +# Hint: some features are disabled by default, remove the leading # to enable them + +# Set to 0 to disable/1 to enable TLP +TLP_ENABLE=1 + +# Seconds laptop mode has to to wait after the disk goes idle before doing a sync. +# Non-zero value enables, zero disables laptop mode. +DISK_IDLE_SECS_ON_AC=0 +DISK_IDLE_SECS_ON_BAT=2 + +# Dirty page values (timeouts in secs). +MAX_LOST_WORK_SECS_ON_AC=15 +MAX_LOST_WORK_SECS_ON_BAT=60 + +# Select a cpu frequency scaling governor: ondemand/powersave/performance/conservative +# Important: +# - You *must* disable your distribution's governor settings or conflicts will occur +# - ondemand is sufficient for *almost all* workloads, you should know what you're doing! +#CPU_SCALING_GOVERNOR_ON_AC=ondemand +#CPU_SCALING_GOVERNOR_ON_BAT=ondemand + +# Set the min/max frequency available for the scaling governor. +# Possible values strongly depend on your cpu. For available frequencies see +# tlp-stat output, Section "+++ Processor". +# Hint: Parameters are disabled by default, remove the leading # to enable them, +# otherwise kernel default values are used. +#CPU_SCALING_MIN_FREQ_ON_AC=0 +#CPU_SCALING_MAX_FREQ_ON_AC=0 +#CPU_SCALING_MIN_FREQ_ON_BAT=0 +#CPU_SCALING_MAX_FREQ_ON_BAT=0 + +# Set the cpu "turbo boost" feature: 0=disable / 1=allow +# Requires an Intel Core i processor and kernel 3.7 or later. +# Important: +# - This may conflict with your distribution's governor settings +# - A value of 1 does *not* activate boosting, it just allows it +#CPU_BOOST_ON_AC=1 +#CPU_BOOST_ON_BAT=0 + +# Minimize number of used cpu cores/hyper-threads under light load conditions +SCHED_POWERSAVE_ON_AC=0 +SCHED_POWERSAVE_ON_BAT=1 + +# Kernel NMI Watchdog +# 0=disable (default, saves power) / 1=enable (for kernel debugging only) +NMI_WATCHDOG=0 + +# Change CPU voltages aka "undervolting" - Kernel with PHC patch required +# Freq:voltage pairs are written to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls +# CAUTION: only use this, if you thoroughly understand what you are doing! +#PHC_CONTROLS="F:V F:V F:V F:V" + +# Hard disk devices, separate multiple devices with spaces (default: sda). +# Devices can be specified by disk id too (lookup with: tlp diskid). +DISK_DEVICES="sda sdb" + +# Hard disk advanced power management level: 1(max saving)..254(off) +# Levels 1..127 may spin down the disk. +# Separate values for multiple devices with spaces. +DISK_APM_LEVEL_ON_AC="254 254" +DISK_APM_LEVEL_ON_BAT="254 254" + +# Hard disk spin down timeout: +# 0: spin down disabled +# 1..240: timeouts from 5s to 20min (in units of 5s) +# 241..251: timeouts from 30min to 5.5 hours (in units of 30min) +# (see 'man hdparm' for details) +#DISK_SPINDOWN_TIMEOUT_ON_AC="0 0" +#DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0" + +# Select io scheduler for the disk devices: noop/deadline/cfq (Default: cfq) +# Separate values for multiple devices with spaces. +#DISK_IOSCHED="cfq cfq" + +# SATA aggressive link power management (ALPM): +# min_power/medium_power/max_performance +SATA_LINKPWR_ON_AC=max_performance +SATA_LINKPWR_ON_BAT=min_power + +# PCI Express Active State Power Management (PCIe ASPM): +# default/performance/powersave +# Hint: needs kernel boot option pcie_aspm=force on some machines +PCIE_ASPM_ON_AC=performance +PCIE_ASPM_ON_BAT=powersave + +# Radeon graphics clock speed (profile method): low/mid/high/auto/default +# auto = mid on BAT, high on AC; default = use hardware defaults +# (Kernel >= 2.6.35 only, not with fglrx driver!) +RADEON_POWER_PROFILE_ON_AC=high +RADEON_POWER_PROFILE_ON_BAT=low + +# New radeon dynamic power management method (dpm): battery/performance +# (Kernel >= 3.11 only, requires boot option radeon.dpm=1) +RADEON_DPM_STATE_ON_AC=performance +RADEON_DPM_STATE_ON_BAT=battery + +# New radeon dpm performance level: auto/low/high (auto is recommended) +RADEON_DPM_PERF_LEVEL_ON_AC=auto +RADEON_DPM_PERF_LEVEL_ON_BAT=auto + +# WiFi power saving mode: 1=disable/5=enable +# (Linux 2.6.32 and later, some adapters only!) +WIFI_PWR_ON_AC=1 +WIFI_PWR_ON_BAT=5 + +# Disable wake on lan: Y/N +WOL_DISABLE=Y + +# Enable audio power saving for Intel HDA, AC97 devices (timeout in secs). +# A value of 0 disables / >=1 enables power save. +SOUND_POWER_SAVE_ON_AC=0 +SOUND_POWER_SAVE_ON_BAT=1 + +# Disable controller too (HDA only): Y/N +SOUND_POWER_SAVE_CONTROLLER=Y + +# Set to 1 to power off optical drive in UltraBay (ThinkPads only) +# when running on battery. A value of 0 disables this Feature (Default). +# Drive can be powered on again by releasing (and reinserting) the +# eject lever or by pressing the disc eject button on newer models. +# Note: an UltraBay hard disk is never powered off. +BAY_POWEROFF_ON_BAT=0 +# Optical drive device to power off (default sr0) +BAY_DEVICE="sr0" + +# Runtime Power Management for pci(e) bus devices +# (Kernel >= 2.6.35 only): on=disable/auto=enable +RUNTIME_PM_ON_AC=on +RUNTIME_PM_ON_BAT=auto + +# Runtime PM for *all* pci(e) bus devices, expect backlisted ones: +# 0=disable / 1=enable +# Warning: experimental option, could cause system instabilities +RUNTIME_PM_ALL=0 + +# Exclude pci(e) device adresses the following list from Runtime PM +# (separate with spaces). Use lspci to get the adresses (1st column). +#RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6" + +# Set to 0 to disable/1 to enable usb autosuspend feature +USB_AUTOSUSPEND=1 + +# Devices from the following list are excluded from usb autosuspend +# (separate with spaces). Use lsusb to get the ids. +# Note: input devices (usbhid) are excluded automatically +#USB_BLACKLIST="1111:2222 3333:4444" + +# WWAN devices are excluded from usb autosuspend: +# 0=do not exclude / 1=exclude +# Note: works for ids 05c6:* 0bdb:* 1199:* only +USB_BLACKLIST_WWAN=1 + +# Set to 1 to disable autosuspend before shutdown/0 to do nothing +# (workaround for usb devices that cause shutdown problems) +#USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1 + +# Restore radio device state (bluetooth, wifi, wwan) from previous shutdown +# on system startup: 0=disable/1=enable +# Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below +# are ignored when this is enabled! +RESTORE_DEVICE_STATE_ON_STARTUP=0 + +# Radio devices to disable on startup: bluetooth wifi wwan +#DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan" + +# Radio devices to enable on startup: bluetooth wifi wwan +#DEVICES_TO_ENABLE_ON_STARTUP="wifi" + +# Radio devices to disable on shutdown: bluetooth wifi wwan +# (workaround for devices that are blocking shutdown) +#DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan" + +# Radio devices to enable on shutdown: bluetooth wifi wwan +# (to prevent other operating systems from missing radios) +#DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan" + +# Radio devices to enable when wireless radio switch is turned on: +# bluetooth wifi wwan (Ubuntu + ThinkPad only) +#DEVICES_TO_ENABLE_ON_RADIOSW="wifi wwan" + +# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module required) +# Charging starts when the remaining capacity falls below the START_CHARGE_TRESH +# value and stops when exceeding the STOP_CHARGE_TRESH value. +# Main battery (values in %) +#START_CHARGE_THRESH_BAT0=75 +#STOP_CHARGE_THRESH_BAT0=80 +# Ultrabay or slice battery (values in %) +#START_CHARGE_THRESH_BAT1=75 +#STOP_CHARGE_THRESH_BAT1=80 + +# Set to 1 to disable use of tpacpi-bat on Sandy Bridge or newer Thinkpads +# and force usage of tp-smapi instead +#DISABLE_TPACPIBAT=1 + +# ------------------------------------------------------------------------------ +# tlp-rdw - Parameters for the radio device wizard +# Possible devices: bluetooth/wifi/wwan + +# Hint: parameters are disabled by default, remove the leading # to enable them + +# Radio devices to disable on connect +#DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan" +#DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan" +#DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi" + +# Radio devices to enable on disconnect +#DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan" +#DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT="" +#DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT="" + +# Radio devices to enable/disable when docked +#DEVICES_TO_ENABLE_ON_DOCK="" +#DEVICES_TO_DISABLE_ON_DOCK="" + +# Radio devices to enable/disable when undocked +#DEVICES_TO_ENABLE_ON_UNDOCK="wifi" +#DEVICES_TO_DISABLE_ON_UNDOCK="" + diff --git a/manjaro/nxd/live-overlay/etc/fstab b/manjaro/nxd/live-overlay/etc/fstab new file mode 100644 index 0000000..0df0cba --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/fstab @@ -0,0 +1,5 @@ +# +# /etc/fstab: static file system information +# +# +/dev/mapper/root-image / auto defaults 0 0 diff --git a/manjaro/nxd/live-overlay/etc/issue b/manjaro/nxd/live-overlay/etc/issue new file mode 100644 index 0000000..75720d4 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/issue @@ -0,0 +1,13 @@ + +Manjaro Live ISO (\l) - \s-\r \m + + + + # Welcome to Manjaro # + + + login for the live environment: + user 'manjaro' + password 'manjaro' + + diff --git a/manjaro/nxd/live-overlay/etc/pam.d/su b/manjaro/nxd/live-overlay/etc/pam.d/su new file mode 100644 index 0000000..a291042 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/pam.d/su @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth sufficient pam_wheel.so trust use_uid +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so diff --git a/manjaro/nxd/live-overlay/etc/skel/.config/kcmdisplayrc b/manjaro/nxd/live-overlay/etc/skel/.config/kcmdisplayrc new file mode 100644 index 0000000..32d417f --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/skel/.config/kcmdisplayrc @@ -0,0 +1,9 @@ +[X11] +exportKDEColors=true +exportKDEFonts=false + +[DisplayEnergy] +displayEnergySaving=false +displayStandby=7 +displaySuspend=13 +displayPowerOff=19 diff --git a/manjaro/nxd/live-overlay/etc/skel/.config/kscreenlockerrc b/manjaro/nxd/live-overlay/etc/skel/.config/kscreenlockerrc new file mode 100755 index 0000000..d9c11d9 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/skel/.config/kscreenlockerrc @@ -0,0 +1,3 @@ +[Daemon] +Autolock=false +Timeout=0 \ No newline at end of file diff --git a/manjaro/nxd/live-overlay/etc/skel/.config/kwalletrc b/manjaro/nxd/live-overlay/etc/skel/.config/kwalletrc new file mode 100644 index 0000000..ba04734 --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/skel/.config/kwalletrc @@ -0,0 +1,11 @@ +[Wallet] +Close When Idle=false +Close on Screensaver=false +Enabled=false +Idle Timeout=10 +Launch Manager=false +Leave Manager Open=false +Leave Open=true +Prompt on Open=false +Use One Wallet=true + diff --git a/manjaro/nxd/live-overlay/etc/skel/.config/manjaro/manjaro-settings-manager.conf b/manjaro/nxd/live-overlay/etc/skel/.config/manjaro/manjaro-settings-manager.conf new file mode 100644 index 0000000..0e4675d --- /dev/null +++ b/manjaro/nxd/live-overlay/etc/skel/.config/manjaro/manjaro-settings-manager.conf @@ -0,0 +1,7 @@ +[notifications] +checkLanguagePackages=false +checkNewKernel=false +checkNewKernelLts=false +checkNewKernelRecommended=false +checkUnsupportedKernel=false +checkUnsupportedKernelRunning=false diff --git a/manjaro/nxd/profile.conf b/manjaro/nxd/profile.conf new file mode 100644 index 0000000..ac24813 --- /dev/null +++ b/manjaro/nxd/profile.conf @@ -0,0 +1,81 @@ +########################################## +###### use this file in the profile ###### +########################################## + +# use multilib packages; x86_64 only +# multilib="true" + +displaymanager="sddm" + +# Set to false to disable autologin in the livecd +# autologin="true" + +# nonfree mhwd drivers +# nonfree_mhwd="true" + +# use extra packages as defined in pkglist to activate a full profile +# extra="false" +# extra="true" + +################ install ################ + +# unset defaults to given value +# efi_boot_loader="grub" + +# configure calamares for netinstall +# netinstall="false" + +# configure calamares to use chrootcfg instead of unpackfs +# chrootcfg="false" + +# use geoip for localization +# geoip='true' + +# add strict snaps: strict_snaps="core core18 gnome-3-28-1804 gtk-common-themes snap-store" +# strict_snaps="" +# add classic snaps: classic_snaps="code" +# classic_snaps="" +# choose the snap channel. Possible options are: stable, candidate, beta, edge +# snap_channel="candidate" + +# unset defaults to given values +# names must match systemd service names +enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep' 'haveged' 'apparmor' 'snapd.apparmor' 'snapd') +#enable_systemd=('avahi-daemon' 'bluetooth' 'cronie' 'ModemManager' 'NetworkManager' 'org.cups.cupsd' 'tlp' 'tlp-sleep' 'haveged') +disable_systemd=('pacman-init') + +# unset defaults to given values, +# names must match openrc service names +# enable_openrc=('acpid' 'bluetooth' 'elogind' 'cronie' 'cupsd' 'dbus' 'syslog-ng' 'NetworkManager') +# disable_openrc=() + +# the same workgroup name if samba is used +# smb_workgroup="" + +################# livecd ################# + +# unset defaults to given value +# hostname="manjaro" + +# unset defaults to given value +# username="manjaro" + +# unset defaults to given value +# password="manjaro" + +# the login shell +# defaults to bash +# login_shell=/bin/bash + +# unset defaults to given values +# addgroups="lp,network,power,wheel" + +# unset defaults to given values +# names must match systemd service names +# services in enable_systemd array don't need to be listed here +# enable_systemd_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live') + +# unset defaults to given values, +# names must match openrc service names +# services in enable_openrc array don't need to be listed here +# enable_openrc_live=('manjaro-live' 'mhwd-live' 'pacman-init' 'mirrors-live')