some hyprland updates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
sddmTheme = "catppuccin-mocha";
|
||||
# sddmTheme = "catppuccin-mocha";
|
||||
theme = import ./theme.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -14,15 +15,19 @@ in
|
||||
sddm = {
|
||||
enable = true;
|
||||
package = pkgs.kdePackages.sddm;
|
||||
theme = sddmTheme;
|
||||
theme = theme.sddmTheme;
|
||||
wayland.enable = true;
|
||||
};
|
||||
# Disable gdm
|
||||
gdm.enable = lib.mkForce false;
|
||||
defaultSession = "hyprland";
|
||||
};
|
||||
# disable plasma
|
||||
desktopManager.plasma6.enable = lib.mkForce false;
|
||||
desktopManager.gnome.enable = lib.mkForce false;
|
||||
|
||||
# disable other desktops
|
||||
desktopManager = {
|
||||
plasma6.enable = lib.mkForce false;
|
||||
gnome.enable = lib.mkForce false;
|
||||
};
|
||||
|
||||
dbus.enable = true;
|
||||
|
||||
@@ -31,13 +36,15 @@ in
|
||||
blueman.enable = true;
|
||||
};
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
programs.nm-applet.enable = true;
|
||||
nm-applet.enable = true;
|
||||
};
|
||||
|
||||
systemd = {
|
||||
user.services.polkit-gnome-authentication-agent-1 = {
|
||||
@@ -84,8 +91,8 @@ in
|
||||
wlr.enable = false;
|
||||
xdgOpenUsePortal = false;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user