Compare commits

..

No commits in common. "99e0d3700d498d2d0c7c57c6c9e716c6c140a5c0" and "38281315f7d22d81e33f3a04d90b23be0aa58b6b" have entirely different histories.

4 changed files with 32 additions and 64 deletions

View file

@ -46,7 +46,17 @@ in {
kFinal: kPrev: { kFinal: kPrev: {
libplasma = kPrev.libplasma.overrideAttrs { libplasma = kPrev.libplasma.overrideAttrs {
patches = [ patches = [
./patches/libplasma-pr1214.patch ../kde/patches/libplasma-pr1214.patch
];
};
kwin = kPrev.kwin.overrideAttrs {
patches = kPrev.kwin.patches ++ [
../kde/patches/kwin-pr6406.patch
];
};
konsole = kPrev.konsole.overrideAttrs {
patches = [
../kde/patches/konsole-pr767.patch
]; ];
}; };
} }
@ -88,6 +98,16 @@ in {
theme = "default"; theme = "default";
colorScheme = "CatppuccinMochaMauve"; colorScheme = "CatppuccinMochaMauve";
}; };
kwin = {
titlebarButtons = {
left = ["on-all-desktops" "keep-above-windows"];
right = ["minimize" "maximize" "close"];
};
virtualDesktops = {
rows = 1;
number = 2;
};
};
input = { input = {
keyboard = { keyboard = {
layouts = [{layout = "es";}]; layouts = [{layout = "es";}];
@ -118,7 +138,17 @@ in {
]; ];
} }
]; ];
shortcuts = {
"kwin" = {
"Switch One Desktop to the Left" = ["Meta+Ctrl+Left"];
"Switch One Desktop to the Right" = ["Meta+Ctrl+Right"];
};
};
configFile = { configFile = {
"kwinrc" = {
"org.kde.kdecoration2"."BorderSize".value = "None";
"TabBox"."LayoutName".value = "thumbnail_grid";
};
"kdeglobals"."General"."AccentColor".value = null; "kdeglobals"."General"."AccentColor".value = null;
"auroraerc"."CatppuccinMocha-Classic"."ButtonSize".value = 0; "auroraerc"."CatppuccinMocha-Classic"."ButtonSize".value = 0;
"plasmanotifyrc"."Notifications"."NormalAlwaysOnTop".value = true; "plasmanotifyrc"."Notifications"."NormalAlwaysOnTop".value = true;

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {...}: {
imports = [ imports = [
./kate.nix ./kate.nix
./firefox.nix ./firefox.nix
@ -7,10 +7,8 @@
# ./neochat.nix # ./neochat.nix
./konsole.nix ./konsole.nix
./git.nix ./git.nix
./kwin.nix
]; ];
# Enable the kde partition manager # Enable the kde partition manager
programs.partition-manager.enable = true; programs.partition-manager.enable = true;
programs.steam.extraPackages = [pkgs.kdePackages.breeze];
} }

View file

@ -24,19 +24,4 @@ in {
}; };
}; };
}; };
nixpkgs.overlays = [
(
final: prev: {
kdePackages = prev.kdePackages.overrideScope (
kFinal: kPrev: {
konsole = kPrev.konsole.overrideAttrs {
patches = [
../patches/konsole-pr767.patch
];
};
}
);
}
)
];
} }

View file

@ -1,45 +0,0 @@
{...}: {
nixpkgs.overlays = [
(
final: prev: {
kdePackages = prev.kdePackages.overrideScope (
kFinal: kPrev: {
kwin = kPrev.kwin.overrideAttrs {
patches =
kPrev.kwin.patches
++ [
./patches/kwin-pr6406.patch
];
};
}
);
}
)
];
home-manager.users.toast = {
programs.plasma = {
kwin = {
titlebarButtons = {
left = ["on-all-desktops" "keep-above-windows"];
right = ["minimize" "maximize" "close"];
};
virtualDesktops = {
rows = 1;
number = 2;
};
};
configFile = {
"kwinrc" = {
"org.kde.kdecoration2"."BorderSize".value = "None";
"TabBox"."LayoutName".value = "thumbnail_grid";
};
};
shortcuts = {
"kwin" = {
"Switch One Desktop to the Left" = ["Meta+Ctrl+Left"];
"Switch One Desktop to the Right" = ["Meta+Ctrl+Right"];
};
};
};
};
}