diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-05-20 22:37:33 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-05-20 22:37:33 +0200 |
commit | ffbd1753406a765c5f248d724c1f11a4279cbbf0 (patch) | |
tree | 485f08f1e2ec21cf0f2602e6a36bf9aee1574547 /common.nix | |
parent | 7385fd4e557dba350eb08b4ed311bf931263361b (diff) |
more fixes
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -192,15 +192,13 @@ in displayManager.defaultSession = "plasmawayland"; }; - # Enable sound with pipewire. - sound.enable = true; - hardware.pulseaudio.enable = false; + # enable sound with PipeWire services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; - pulse.enable = true; jack.enable = true; + pulse.enable = true; }; # allow realtime @@ -365,7 +363,7 @@ in enable = true; # 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 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 programs.steam.enable = true; + # dconf is needed for gtk, see https://nixos.wiki/wiki/KDE + programs.dconf.enable = true; + # enable VirtualBox virtualisation.virtualbox.host.enable = true; users.extraGroups.vboxusers.members = [ "cullmann" ]; |