This commit is contained in:
@@ -6,6 +6,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
./kde.nix
|
||||
./hyprland.nix
|
||||
./yubikey.nix
|
||||
./chromium.nix
|
||||
./firefox.nix
|
||||
|
||||
49
common/pc/hyprland.nix
Normal file
49
common/pc/hyprland.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.de;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland.withUWSM = true;
|
||||
programs.hyprland.xwayland.enable = true;
|
||||
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Bar
|
||||
waybar
|
||||
|
||||
# Launcher
|
||||
wofi
|
||||
|
||||
# Notifications
|
||||
mako
|
||||
|
||||
# Lock/idle
|
||||
hyprlock
|
||||
hypridle
|
||||
|
||||
# Wallpaper
|
||||
hyprpaper
|
||||
|
||||
# Polkit
|
||||
hyprpolkitagent
|
||||
|
||||
# Screenshots
|
||||
grim
|
||||
slurp
|
||||
|
||||
# Clipboard
|
||||
wl-clipboard
|
||||
cliphist
|
||||
|
||||
# Color picker
|
||||
hyprpicker
|
||||
|
||||
# Brightness (laptop keybinds)
|
||||
brightnessctl
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user