[hyprland] Add module
This commit is contained in:
parent
85553a4a9c
commit
1ac8bc985c
2 changed files with 16 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./gnome
|
./gnome
|
||||||
|
./hyprland
|
||||||
./plasma
|
./plasma
|
||||||
./sway
|
./sway
|
||||||
];
|
];
|
||||||
|
|
15
nixos/modules/desktop/hyprland/default.nix
Normal file
15
nixos/modules/desktop/hyprland/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.sisyphus.desktop.hyprland;
|
||||||
|
in {
|
||||||
|
options.sisyphus.desktop.hyprland.enable = lib.mkEnableOption "Hyprland";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue