rename WM to wm
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.hyprland.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "hyprland";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.hyprland.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
mako
|
||||
wofi
|
||||
wlogout
|
||||
waybar
|
||||
wl-clipboard
|
||||
libnotify
|
||||
hyprpaper
|
||||
hyprpolkitagent
|
||||
hyprlock
|
||||
pavucontrol
|
||||
cliphist
|
||||
kitty
|
||||
grim
|
||||
slurp
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user