diff --git a/flake.nix b/flake.nix index 3ea84d2..a3bd117 100644 --- a/flake.nix +++ b/flake.nix @@ -9,14 +9,6 @@ url = "github:kamadorueda/alejandra/3.0.0"; inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland = { - url = "github:hyprwm/Hyprland"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - hy3 = { - url = "github:outfoxxed/hy3"; - inputs.hyprland.follows = "hyprland"; - }; mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver"; sops-nix = { url = "github:Mic92/sops-nix"; diff --git a/services/desktop/hyprland.nix b/services/desktop/hyprland.nix deleted file mode 100644 index ee7171b..0000000 --- a/services/desktop/hyprland.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ - system, - config, - lib, - pkgs, - hyprland, - hy3, - ... -}: -with lib; - mkIf (elem "desktop::hyprland" config.machine.services) { - - programs = { - dconf.enable = true; - hyprland = { - enable = true; - package = hyprland.packages."${system}".hyprland; - xwayland.enable = false; - }; - }; - services.xserver = { - enable = true; - displayManager.sddm = { - enable = true; - autoNumlock = true; - wayland.enable = true; - }; - }; - environment.systemPackages = - [ - hy3.packages."${system}".hy3 - ] - ++ - (with pkgs; [ - kanagawa - eww-wayland - rofi-wayland - hyprpicker - waybar - swaybg - gtk3 - gnome.adwaita-icon-theme - gsettings-desktop-schemas - ]); - - # TODO: Refactor - environment = { - etc."xdg/gtk-2.0/gtkrc".text = '' - gtk-key-theme-name = "Kanagawa-BL" - ''; - etc."xdg/gtk-3.0/settings.ini".text = '' - [Settings] - gtk-key-theme-name = Kanagawa-BL - ''; - sessionVariables.NIXOS_OZONE_WL = "1"; - }; - qt = { - enable = true; - platformTheme = "gnome"; - style = "adwaita-dark"; - }; - }