more fixes

This commit is contained in:
Christoph Cullmann 2023-05-20 22:37:33 +02:00
parent 7385fd4e55
commit ffbd175340

View file

@ -192,15 +192,13 @@ in
displayManager.defaultSession = "plasmawayland"; displayManager.defaultSession = "plasmawayland";
}; };
# Enable sound with pipewire. # enable sound with PipeWire
sound.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true; jack.enable = true;
pulse.enable = true;
}; };
# allow realtime # allow realtime
@ -365,7 +363,7 @@ in
enable = true; enable = true;
# some env vars I want in all of my shells # some env vars I want in all of my shells
shellInit = "export MOZ_ENABLE_WAYLAND=1; export POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true;"; shellInit = "export NIXOS_OZONE_WL=1; export MOZ_ENABLE_WAYLAND=1; export POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true;";
# great prompt # great prompt
promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme; if [ -f ~/.p10k.zsh ]; then source ~/.p10k.zsh; fi;"; promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme; if [ -f ~/.p10k.zsh ]; then source ~/.p10k.zsh; fi;";
@ -374,6 +372,9 @@ in
# we want steam for gaming # we want steam for gaming
programs.steam.enable = true; programs.steam.enable = true;
# dconf is needed for gtk, see https://nixos.wiki/wiki/KDE
programs.dconf.enable = true;
# enable VirtualBox # enable VirtualBox
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "cullmann" ]; users.extraGroups.vboxusers.members = [ "cullmann" ];