nixos/sysConfig/gui.nix
2023-05-01 05:02:25 -04:00

60 lines
1.3 KiB
Nix

{ config, pkgs, lib, ... }:
{
# DESKTOP
programs.sway.enable = true;
environment.systemPackages = with pkgs; [
rofi-wayland
grim
slurp
wl-clipboard
xdg-desktop-portal
xdg-desktop-portal-wlr
xdg-utils
fontconfig
xwayland
];
# CONSOLE
console = {
font = "Lat2-Terminus16";
useXkbConfig = true;
};
# FONTS
fonts = {
fonts = with pkgs; [
terminus_font
nerdfonts
noto-fonts
noto-fonts-cjk
emojione
];
};
# GPU DRIVERS
# boot.initrd.kernelModules = [ "amdgpu" ]; #Uncomment for AMD
hardware.nvidia.open = true; # Uncomment for nvidia open-source nouveau drivers
# services.xserver.videoDrivers = [ "nvidia" ]; # Uncomment
# hardware = { # this
# opengl.enable = true; # codeblock
# nvidia = { # for
# package = config.boot.kernelPackages.nvidiaPackages.stable; # NVIDIA
# modesetting.enable = true; # proprietary
# }; # driver
# }; # support
}