add nix-daemon

This commit is contained in:
user 2023-07-23 20:49:52 +02:00
parent 1af13034f2
commit 72e9e23a36
2 changed files with 4 additions and 3 deletions

View file

@ -105,7 +105,7 @@ function standartinstallation() {
function addusers() { function addusers() {
# Erstelle Gruppen # Erstelle Gruppen
groupid=1000 groupid=1000
for wort in ${user} users wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus flatpak seat; do for wort in ${user} users wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus flatpak seat nix-users; do
if ! cat /etc/group | grep ${wort}; then if ! cat /etc/group | grep ${wort}; then
while cat /etc/group | grep ${groupid}; do while cat /etc/group | grep ${groupid}; do
groupid=$((${groupid} + 1)) groupid=$((${groupid} + 1))
@ -119,7 +119,7 @@ function addusers() {
useruid=$((${useruid} + 1)) useruid=$((${useruid} + 1))
done done
useradd -m -g ${user} -G users,wheel,audio,input,power,storage,video,sys,optical,adm,lp,scanner,sddm,kvm,fuse,autologin,network,wireshark,docker,libvirt,libvirtdbus,flatpak,seat -s /usr/bin/zsh --uid ${useruid} ${user} useradd -m -g ${user} -G users,wheel,audio,input,power,storage,video,sys,optical,adm,lp,scanner,sddm,kvm,fuse,autologin,network,wireshark,docker,libvirt,libvirtdbus,flatpak,seat,nix-users -s /usr/bin/zsh --uid ${useruid} ${user}
echo "${user}:${userpass}" | chpasswd echo "${user}:${userpass}" | chpasswd
mkdir -p /home/${user}/ mkdir -p /home/${user}/
userrechte userrechte
@ -347,6 +347,7 @@ systemctl enable bluetooth.service
systemctl enable seatd systemctl enable seatd
# https://wiki.archlinux.org/title/CPU_frequency_scaling # https://wiki.archlinux.org/title/CPU_frequency_scaling
systemctl enable power-profiles-daemon systemctl enable power-profiles-daemon
# systemctl enable nix-daemon.service
#add_plymouth #add_plymouth

View file

@ -16,7 +16,7 @@ dhcpcd intel-ucode amd-ucode iwd lvm2
docker docker-compose docker docker-compose
qutebrowser ranger fff nnn lf xterm foot qutebrowser ranger fff nnn lf xterm foot
gnome-system-monitor gnome-system-monitor
gnupg git flatpak cmake ninja gradle chezmoi gnupg git flatpak nix cmake ninja gradle chezmoi
gst-libav gst-plugin-gtk gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gstreamer gst-libav gst-plugin-gtk gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gstreamer
gvfs gvfs-afc gvfs-goa gvfs-google gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb gvfs gvfs-afc gvfs-goa gvfs-google gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb
htop bashtop btop asciiquarium lolcat htop bashtop btop asciiquarium lolcat