apply stylix style to konsole
All checks were successful
Hydra nixosConfigurations.rainbow-resort Hydra build #27429 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #27430 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.oracle-installer Hydra build #27427 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #27428 of nixos-config:pr618:nixosConfigurations.pc-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-24 12:15:36 +01:00
parent 1e57b15bfe
commit 184884df9e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 15 additions and 3 deletions

View file

@ -7,6 +7,7 @@
./theming.nix
./krdp.nix
./gtk-fixes
./konsole.nix
];
programs.plasma.kwin.virtualDesktops = {
rows = 3;

8
config/kde/konsole.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }:
{
programs.konsole = {
enable = true;
defaultProfile = "Stylix";
profiles.Stylix.colorScheme = "Stylix";
};
}

View file

@ -82,12 +82,13 @@ let
in
{
home-manager.users.root.stylix.targets.kde.enable = lib.mkForce false;
home-manager.users.darkkirb =
home-manager.users.darkkirb.imports = [
{
stylix.targets.kde.enable = config.isGraphical;
}
// (
(
if config.isGraphical then
{ config, lib, ... }:
{
home.activation.konsolerc = lib.hm.dag.entryAfter [ "stylixLookAndFeel" ] ''
PATH="${config.home.path}/bin:$PATH:${pkgs.jq}"
@ -177,7 +178,9 @@ in
}
else
{ }
);
)
];
stylix = {
enable = system != "riscv64-linux";
image = bgPng;