chore(hyprland): Update
This commit is contained in:
parent
04b72edede
commit
b7b0fa8ad3
1 changed files with 44 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sisyphus.desktop.hyprland;
|
||||
|
@ -6,9 +6,49 @@ in {
|
|||
options.sisyphus.desktop.hyprland.enable = lib.mkEnableOption "Hyprland";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
# Hint Electron apps to use wayland
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
SCRIPT_DIR = ../../../../scripts;
|
||||
};
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
dunst
|
||||
libnotify
|
||||
swaybg
|
||||
waybar
|
||||
waycorner
|
||||
wlsunset
|
||||
wl-clipboard # Copying to system clipboard in vim
|
||||
|
||||
glib
|
||||
|
||||
libva
|
||||
|
||||
dmenu
|
||||
jq
|
||||
j4-dmenu-desktop
|
||||
rofi
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
waybar.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
displayManager.ly.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
power-profiles-daemon.enable = true;
|
||||
xserver.videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue