Compare commits
No commits in common. "ca0c84006eedf7c86845128942d2e644462b9385" and "760a3d3b2a9e8916c5f23cb17704cc4e223a0ad8" have entirely different histories.
ca0c84006e
...
760a3d3b2a
3 changed files with 33 additions and 13 deletions
|
|
@ -8,6 +8,6 @@
|
||||||
];
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
heroic
|
heroic
|
||||||
prismlauncher
|
prismlauncher-qt5
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make custom packages
|
||||||
|
breezeTint = pkgs.stdenv.mkDerivation {
|
||||||
|
name = "breeze-tint";
|
||||||
|
src = "${pkgs.breeze-qt5}";
|
||||||
|
patches = [./patches/BreezeTint.patch];
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/color-schemes/
|
||||||
|
cp -r share/color-schemes/* $out/share/color-schemes/
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# /etc/xdg is not read by plasma, so to change the default settings you need to put them in a package
|
# /etc/xdg is not read by plasma, so to change the default settings you need to put them in a package
|
||||||
plasmaDefaults = pkgs.stdenv.mkDerivation {
|
plasmaDefaults = pkgs.stdenv.mkDerivation {
|
||||||
name = "toast-plasma-defaults";
|
name = "toast-plasma-defaults";
|
||||||
|
|
@ -34,16 +49,21 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
# Enable the Plasma 6 Desktop Environment
|
services = {
|
||||||
services.desktopManager.plasma6.enable = true;
|
displayManager.defaultSession = "plasmawayland";
|
||||||
|
xserver = {
|
||||||
|
# Enable the Plasma 5 Desktop Environment
|
||||||
|
desktopManager.plasma5.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
# GTK apps need dconf to grab the correct theme on Wayland
|
# GTK apps need dconf to grab the correct theme on Wayland
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
# Install the plasma default configs
|
# Install the patched Breeze color schemes as well as the plasma default configs
|
||||||
environment.systemPackages = [plasmaDefaults];
|
environment.systemPackages = [breezeTint plasmaDefaults];
|
||||||
|
|
||||||
# Plasma configs should be on all users
|
# Plasma configs should be on all users
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
|
|
@ -62,15 +82,15 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Most apps are dark, so a white cursor is easier to spot
|
# Most apps are dark, so a white cursor is easier to spot
|
||||||
cursorTheme = {
|
cursorTheme = {
|
||||||
package = pkgs.kdePackages.breeze;
|
package = pkgs.breeze-qt5;
|
||||||
name = "Breeze_Light";
|
name = "Breeze_Snow";
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = pkgs.kdePackages.breeze-icons;
|
package = pkgs.breeze-icons;
|
||||||
name = "breeze-dark";
|
name = "breeze-dark";
|
||||||
};
|
};
|
||||||
theme = {
|
theme = {
|
||||||
package = pkgs.kdePackages.breeze-gtk;
|
package = pkgs.breeze-gtk;
|
||||||
name = "Breeze";
|
name = "Breeze";
|
||||||
};
|
};
|
||||||
# Gtk2 doesn't have a dark mode, so I just tell gtk 3 and 4 to use the dark variant
|
# Gtk2 doesn't have a dark mode, so I just tell gtk 3 and 4 to use the dark variant
|
||||||
|
|
@ -90,7 +110,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
workspace = {
|
workspace = {
|
||||||
clickItemTo = "select";
|
clickItemTo = "select";
|
||||||
cursorTheme = "Breeze_Light";
|
cursorTheme = "Breeze_Snow";
|
||||||
iconTheme = "breeze-dark";
|
iconTheme = "breeze-dark";
|
||||||
lookAndFeel = "Catppuccin-Mocha-Mauve";
|
lookAndFeel = "Catppuccin-Mocha-Mauve";
|
||||||
theme = "default";
|
theme = "default";
|
||||||
|
|
|
||||||
|
|
@ -45,12 +45,12 @@ in {
|
||||||
# Enable SDDM.
|
# Enable SDDM.
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme = "sugar-candy";
|
theme = "sugar-candy";
|
||||||
settings = {
|
settings = {
|
||||||
General = {Numlock = "off";};
|
General = {Numlock = "off";};
|
||||||
Theme = {CursorTheme = "Breeze_Snow";};
|
Theme = {CursorTheme = "Breeze_Snow";};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Sugar candy doesn't seem to work on qt6 :(
|
|
||||||
# environment.systemPackages = [sddm-sugar-candy customcfg];
|
environment.systemPackages = [sddm-sugar-candy customcfg];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue