mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 13:13:15 -08:00
43 lines
1.3 KiB
Nix
43 lines
1.3 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# so, funny thing i learned - "xserver" is basically the blanket term for all gui stuff in nixos.
|
|
# this really confuses me, because i'm trying to keep xorg out of this install and only wayland in.
|
|
# i may miss some spots though.
|
|
# see: https://www.reddit.com/r/NixOS/comments/17ia1g8/i_dont_understand_nixoss_wayland_setup/
|
|
|
|
services.xserver.enable = true;
|
|
|
|
# use sddm and only use its wayland session
|
|
services.xserver.displayManager.sddm.enable = true;
|
|
services.xserver.displayManager.sddm.wayland.enable = true;
|
|
# default to plasma wayland session
|
|
services.xserver.displayManager.defaultSession = "plasma";
|
|
# gyattde rizzma 6
|
|
services.xserver.desktopManager.plasma6 = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.xwayland.enable = true;
|
|
# we use flatpak
|
|
programs.firefox.enable = false;
|
|
|
|
# Configure keymap in X11
|
|
services.xserver = {
|
|
layout = "us";
|
|
xkbVariant = "";
|
|
};
|
|
|
|
# don't install some of the default packages since i don't need them
|
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
|
plasma-browser-integration
|
|
#konsole
|
|
#oxygen
|
|
];
|
|
|
|
# ensure we have dconf enabled
|
|
programs.dconf.enable = true;
|
|
|
|
# this enables the ozone stuff on wayland for chromium and electron and shit
|
|
environment.variables.NIXOS_OZONE_WL = "1";
|
|
}
|