diff options
Diffstat (limited to 'modules/compositor.nix')
-rw-r--r-- | modules/compositor.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/compositor.nix b/modules/compositor.nix deleted file mode 100644 index 8226842..0000000 --- a/modules/compositor.nix +++ /dev/null @@ -1,41 +0,0 @@ -# https://wiki.nixos.org/wiki/Sway -{ inputs, pkgs, ... }: -{ - programs.hyprland = { - enable = true; - xwayland.enable = true; - package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; - }; - - environment.systemPackages = with pkgs; [ - kitty # Required by Hyprland - waybar - rofi-wayland-unwrapped - rofi-rbw-wayland - ]; - - services.gnome.gnome-keyring.enable = true; - - services.greetd = { - enable = true; - settings = { - default_session = { - command = "${pkgs.hyprland}/bin/hyprland"; - user = "jras"; - }; - }; - }; - - systemd.user.services.kanshi = { - description = "kanshi daemon"; - environment = { - WAYLAND_DISPLAY="wayland-1"; - DISPLAY=":0"; - }; - serviceConfig = { - Type = "simple"; - ExecStart = ''${pkgs.kanshi}/bin/kanshi -c kanshi_config_file''; - }; - }; -} |