Refactor: Move and subcategorize modules
This commit is contained in:
parent
49ebf1155e
commit
d6f25a0f4e
12 changed files with 9 additions and 7 deletions
26
modules/desktop/environments/sway.nix
Normal file
26
modules/desktop/environments/sway.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, pkgs, ...}:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
rofi-wayland
|
||||
foot
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
NIXOS_OZONE_WL = 1;
|
||||
};
|
||||
|
||||
# programs.hyprland.enable = true;
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue