31 lines
688 B
Nix
31 lines
688 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [ hyprland ];
|
|
|
|
home.file.".config/hypr/hyprland.conf".text = ''
|
|
# Minimal Hyprland config
|
|
|
|
# General settings
|
|
general {
|
|
dpi=96
|
|
}
|
|
|
|
# Example monitor line — replace with your output name and resolution
|
|
monitor= eDP-1, 1920x1080@60, 0, 0, 1
|
|
|
|
# Basic keybindings (SUPER is the meta/windows key)
|
|
bind=SUPER+ENTER, exec, alacritty
|
|
bind=SUPER+D, exec, dmenu_run
|
|
bind=SUPER+Q, killactive
|
|
|
|
# Simple floating example (adjust class/title as needed)
|
|
windowrulev2 = float,class: Pavucontrol
|
|
|
|
# Add any startup commands here (uncomment and edit)
|
|
# exec = seatd,enabled
|
|
'';
|
|
|
|
}
|