commit 2be2920b281d396f368bca6c0d17d2d6fa2ad129
parent b5ff84d5179a65593737c29f56ae68d03e393c67
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 5 Sep 2024 00:08:47 +0200
systems/modules: remove hyprland option.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 0 insertions(+), 57 deletions(-)
diff --git a/systems/modules/desktop/default.nix b/systems/modules/desktop/default.nix
@@ -1,7 +1,6 @@
{
imports = [
./base.nix
- ./hyprland.nix
./i3.nix
./sway.nix
./wayland.nix
diff --git a/systems/modules/desktop/hyprland.nix b/systems/modules/desktop/hyprland.nix
@@ -1,56 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-let
- inherit (lib) mkIf mkEnableOption mkDefault;
- cfg = config.modules.desktop.wayland.hyprland;
-in
-{
- options = {
- modules.desktop.wayland.hyprland = {
- enable = mkEnableOption "Enable hyprland desktop profile";
- };
- };
- config = mkIf cfg.enable {
- # Enable wayland desktop modules if not already
- modules.desktop.wayland.enable = true;
-
- # Enable pipewire
- modules.hardware.audio = {
- enable = true;
- pipewire.enable = true;
- };
-
- services.blueman.enable = config.modules.hardware.bluetooth.enable;
-
- programs.hyprland.enable = true;
-
- xdg = {
- portal = {
- enable = true;
- # wlr.enable = true;
- extraPortals = with pkgs; [
- xdg-desktop-portal-hyprland
- xdg-desktop-portal-gtk
- ];
- config = {
- common = {
- default = [
- "gtk"
- ];
- };
- };
- };
- };
- # Allow swaylock to unlock the computer for us
- security.pam.services.swaylock = {
- text = "auth include login";
- };
-
- # FIXME are those needed
- programs.dconf.enable = true;
- services.dbus = {
- enable = true;
- packages = [ pkgs.dconf pkgs.gcr ];
- };
- };
-}