feat: trying hyprland again

This commit is contained in:
Nick 2025-05-10 16:28:48 -05:00
parent c5fe1e3538
commit cd01d3e40b
11 changed files with 108 additions and 156 deletions

View file

@ -10,13 +10,12 @@ in
mullvad
syncthing
ollama
plasma
# plasma
sddm
# hypr
hypr
# niri
# wayland
wayland
searx
portals
xserver
flatpak
wireGuard

View file

@ -1,10 +1,26 @@
{ pkgs, flake, ... }:
let
inherit (flake.config.aesthetics.themes) fonts;
in
{
services = {
displayManager = {
sddm = {
enable = true;
wayland.enable = true;
enableHidpi = true;
theme = "catppuccin-mocha";
};
};
};
environment = {
systemPackages = [
(pkgs.catppuccin-sddm.override {
flavor = "mocha";
font = "${fonts.names.name0}";
fontSize = "${toString fonts.sizes.desktop.size0}";
loginBackground = true;
})
];
};
}

View file

@ -5,12 +5,23 @@
xdg = {
portal = {
enable = true;
config = {
niri = {
default = [
"wlr"
"gtk"
"gnome"
];
};
};
wlr.enable = true;
config.common.default = "*";
xdgOpenUsePortal = true;
extraPortals = builtins.attrValues {
inherit (pkgs)
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
# xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
;