Compare commits

...

2 Commits

Author SHA1 Message Date
salt cde6eb2fa7 Add in styling n shit 2026-05-18 14:56:47 -05:00
salt f974c85b5e Polish session up a bit more 2026-05-08 22:00:11 -05:00
2 changed files with 44 additions and 1 deletions
+23
View File
@@ -14,6 +14,29 @@
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.kdePackages.kwallet ];
qt = {
enable = true;
platformTheme = "kde";
style = "breeze";
};
environment.pathsToLink = [
"/share/color-schemes"
"/share/kstyle"
"/share/plasma"
];
environment.etc."xdg/kdeglobals".text = lib.generators.toINI { } {
General = {
ColorScheme = "BreezeDark";
Name = "Breeze Dark";
};
Icons.Theme = "Papirus-Dark";
KDE = {
LookAndFeelPackage = "org.kde.breezedark.desktop";
widgetStyle = "Breeze";
};
};
programs.dconf = {
enable = true;
profiles.user.databases = [
+21 -1
View File
@@ -3,6 +3,24 @@
#
{ config, lib, pkgs, ... }:
let
hyprlandUwsmSession = pkgs.writeTextFile {
name = "hyprland-nixos-uwsm";
destination = "/share/wayland-sessions/hyprland-nixos-uwsm.desktop";
text = ''
[Desktop Entry]
Name=Hyprland (NixOS UWSM)
Comment=Hyprland managed by UWSM with the NixOS session environment
Exec=${pkgs.writeShellScript "start-hyprland-nixos-uwsm" ''
. /etc/set-environment
exec ${lib.getExe pkgs.uwsm} start -F -- /run/current-system/sw/bin/Hyprland
''}
Type=Application
DesktopNames=Hyprland
'';
passthru.providedSessions = [ "hyprland-nixos-uwsm" ];
};
in
{
imports = [
./base.nix
@@ -11,10 +29,12 @@
./packages.nix
./sddm.nix
];
services.displayManager.defaultSession = "hyprland";
services.displayManager.defaultSession = "hyprland-nixos-uwsm";
# Hyprland as the star of the show
programs.hyprland.enable = true;
programs.hyprland.withUWSM = true;
services.displayManager.sessionPackages = [ hyprlandUwsmSession ];
# XDG portal
xdg.portal.enable = true;