Get Hyprland and stuff all set up on desktop

This commit is contained in:
Elnu 2025-06-19 12:29:12 -07:00
parent 96739c5979
commit 44c5a27387
15 changed files with 668 additions and 13 deletions

View file

@ -15,17 +15,11 @@ in
extraPackages = lib.mkOverride 0 [];
};
displayManager = {
lightdm = {
enable = true;
greeters.gtk = {
enable = true;
theme = theme.gtkTheme pkgs;
};
background = theme.wallpaper;
};
sddm.enable = true;
};
};
displayManager = {
enable = true;
defaultSession = "none+i3";
};
udev.packages = [ pkgs.yubikey-personalization ];
@ -34,16 +28,18 @@ in
gvfs.enable = true; # For Trash
};
programs.hyprland.enable = true;
programs.sway.enable = true;
xdg.portal.enable = true;
environment.systemPackages = with pkgs; [ yubioath-flutter ];
# Needed mesa for whatever reason to get Discord to work on Wayland on my desktop
environment.systemPackages = with pkgs; [ yubioath-flutter mesa ];
environment.sessionVariables = {
# GTK Theme won't display with GTK4 (e.g. nautilus) otherwise
# Doesn't work in some scenarios, such as open containing folder in Firefox, when declared in home.sessionVariables
GTK_THEME = (theme.gtkTheme pkgs).name;
# something something required for Electron apps on Wayland
NIXOS_OZONE_WL = "1";
};
# Enable OpenTabletDriver, GUI configurator is otd-gui