mirror of
https://github.com/0x1d/nix.git
synced 2025-12-15 14:18:23 +01:00
add hyprland config
This commit is contained in:
53
os/system/desktop/hyprland.nix
Normal file
53
os/system/desktop/hyprland.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./hyprland-config.nix
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "ch";
|
||||
xkb.variant = "";
|
||||
};
|
||||
|
||||
# Hyprland configuration
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# Enable wayland support
|
||||
environment.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
# Additional packages for Hyprland
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Waybar for status bar
|
||||
waybar
|
||||
# Notification daemon
|
||||
dunst
|
||||
# Screenshot tool
|
||||
grim
|
||||
slurp
|
||||
# Color picker
|
||||
hyprpicker
|
||||
# Wallpaper utility
|
||||
swww
|
||||
# Clipboard manager
|
||||
wl-clipboard
|
||||
# Terminal
|
||||
alacritty
|
||||
# Application launcher
|
||||
wofi
|
||||
# File manager
|
||||
xfce.thunar
|
||||
# Volume control
|
||||
pavucontrol
|
||||
# Clipboard history
|
||||
cliphist
|
||||
# Brightness control
|
||||
brightnessctl
|
||||
# Power management
|
||||
power-profiles-daemon
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user