mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 12:11:13 +00:00
Commit before consolidation
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# programs.waybar = {
|
||||
# enable = true;
|
||||
## systemd.enable = true;
|
||||
# };
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
@@ -15,45 +20,45 @@
|
||||
#jack.enable = true;
|
||||
};
|
||||
|
||||
# environment.sessionVariables = {
|
||||
# If your cursor becomes invisible
|
||||
# WLR_NO_HARDWARE_CURSORS = "1";
|
||||
# Hint electron apps to use wayland
|
||||
# NIXOS_OZONE_WL = "1";
|
||||
# Fix waiting on vsync
|
||||
# __GL_SYNC_TO_VBLANK = "0";
|
||||
# };
|
||||
# environment.sessionVariables = {
|
||||
# If your cursor becomes invisible
|
||||
# WLR_NO_HARDWARE_CURSORS = "1";
|
||||
# Hint electron apps to use wayland
|
||||
# NIXOS_OZONE_WL = "1";
|
||||
# Fix waiting on vsync
|
||||
# __GL_SYNC_TO_VBLANK = "0";
|
||||
# };
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "amdgpu" ];
|
||||
displayManager.gdm = {
|
||||
};
|
||||
services.displayManager.gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
};
|
||||
};
|
||||
|
||||
# services.displayManager.autoLogin = {
|
||||
# enable = true;
|
||||
# user = "caperren";
|
||||
# };
|
||||
# services.displayManager.autoLogin = {
|
||||
# enable = true;
|
||||
# user = "caperren";
|
||||
# };
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
# hardware.nvidia = {
|
||||
# Enable modesetting for Wayland compositors (hyprland)
|
||||
# modesetting.enable = true;
|
||||
# Use the open source version of the kernel module (for driver 515.43.04+)
|
||||
# Actually, just overridden to false for now
|
||||
# open = false;
|
||||
# Enable the Nvidia settings menu
|
||||
# nvidiaSettings = true;
|
||||
# Select the appropriate driver version for your specific GPU
|
||||
# package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# };
|
||||
# hardware.nvidia = {
|
||||
# Enable modesetting for Wayland compositors (hyprland)
|
||||
# modesetting.enable = true;
|
||||
# Use the open source version of the kernel module (for driver 515.43.04+)
|
||||
# Actually, just overridden to false for now
|
||||
# open = false;
|
||||
# Enable the Nvidia settings menu
|
||||
# nvidiaSettings = true;
|
||||
# Select the appropriate driver version for your specific GPU
|
||||
# package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# };
|
||||
environment.systemPackages = [
|
||||
pkgs.hyprland
|
||||
pkgs.kitty
|
||||
|
||||
Reference in New Issue
Block a user