Add in styling n shit
This commit is contained in:
@@ -19,6 +19,11 @@
|
|||||||
platformTheme = "kde";
|
platformTheme = "kde";
|
||||||
style = "breeze";
|
style = "breeze";
|
||||||
};
|
};
|
||||||
|
environment.pathsToLink = [
|
||||||
|
"/share/color-schemes"
|
||||||
|
"/share/kstyle"
|
||||||
|
"/share/plasma"
|
||||||
|
];
|
||||||
|
|
||||||
environment.etc."xdg/kdeglobals".text = lib.generators.toINI { } {
|
environment.etc."xdg/kdeglobals".text = lib.generators.toINI { } {
|
||||||
General = {
|
General = {
|
||||||
|
|||||||
+20
-1
@@ -3,6 +3,24 @@
|
|||||||
#
|
#
|
||||||
{ config, lib, pkgs, ... }:
|
{ 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 = [
|
imports = [
|
||||||
./base.nix
|
./base.nix
|
||||||
@@ -11,11 +29,12 @@
|
|||||||
./packages.nix
|
./packages.nix
|
||||||
./sddm.nix
|
./sddm.nix
|
||||||
];
|
];
|
||||||
services.displayManager.defaultSession = "hyprland-uwsm";
|
services.displayManager.defaultSession = "hyprland-nixos-uwsm";
|
||||||
|
|
||||||
# Hyprland as the star of the show
|
# Hyprland as the star of the show
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.hyprland.withUWSM = true;
|
programs.hyprland.withUWSM = true;
|
||||||
|
services.displayManager.sessionPackages = [ hyprlandUwsmSession ];
|
||||||
|
|
||||||
# XDG portal
|
# XDG portal
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user