feat: remove hyprland

This commit is contained in:
Jacob Bachmann 2024-05-05 13:53:54 +02:00
parent d601262749
commit 48b35271c7
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
9 changed files with 3 additions and 619 deletions

View file

@ -11,7 +11,7 @@
flavour = mkOption {
type = types.listOf types.str;
default = [ "sway" ];
example = [ "sway" "i3" "Hyprland" ];
example = [ "sway" "i3" ];
description = ''
The flavour (WM) for your system to use
'';

View file

@ -3,7 +3,6 @@
environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw
programs.sway.enable = builtins.elem "sway" gui.flavour;
programs.hyprland.enable = builtins.elem "Hyprland" gui.flavour;
services.xserver.windowManager.i3.enable = builtins.elem "i3" gui.flavour;
services.xserver = {

View file

@ -3,7 +3,7 @@
enable = true;
wlr.enable = true;
config.common.default = "*";
extraPortals = with lib; with config.bchmnn; optionals (elem "sway" gui.flavour || elem "Hyprland" gui.flavour) [
extraPortals = with lib; with config.bchmnn; optionals (elem "sway" gui.flavour) [
pkgs.xdg-desktop-portal-wlr
];
};