More plasma desktop customisation

Move plasma-manager import to plasma config file, no need to import if
not using plasma desktop

Add libnotify to default installed packages for desktop environment
This commit is contained in:
Evie Litherland-Smith 2024-07-19 08:52:17 +01:00
parent 79c9398cfe
commit ecc54c5cf9
3 changed files with 45 additions and 8 deletions

View file

@ -35,8 +35,9 @@
base16,
tt-schemes,
...
}: let
} @ inputs: let
defaultSpecialArgs = {system ? "x86_64-linux", ...}: {
inherit inputs;
iosevkaCustom = {
packages = iosevka-custom.outputs.packages.${system};
names = iosevka-custom.outputs.names;
@ -48,7 +49,7 @@
names = iosevka-custom.outputs.names;
};
in {
inherit iosevkaCustom;
inherit inputs iosevkaCustom;
inherit (plasma-manager.packages.${system}) rc2nix;
accentColourName = "base0E";
fonts = with iosevkaCustom; rec {
@ -106,7 +107,6 @@
backupFileExtension = "backup";
users.${username} = {
imports = [
plasma-manager.homeManagerModules.plasma-manager
base16.homeManagerModule
{scheme = "${tt-schemes}/base16/one-light.yaml";}
./home/default.nix

View file

@ -2,12 +2,14 @@
config,
lib,
pkgs,
inputs,
fonts,
rc2nix,
accentColourName,
...
}: {
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
../default.nix
./konsole.nix
];
@ -163,6 +165,9 @@
"Switch Window Left" = "Meta+H";
"Switch Window Right" = "Meta+L";
"Switch Window Up" = "Meta+K";
"Invert" = "Meta+Ctrl+I";
"InvertWindow" = "Meta+Ctrl+U";
"Invert Screen Colors" = [];
};
"services/org.kde.konsole.desktop"."_launch" = [];
"services/org.kde.krunner.desktop"."_launch" = ["Meta+Space" "Search" "Alt+F2"];
@ -183,9 +188,19 @@
configFile = {
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
plasmanotifyrc.Notifications.NormalAlwaysOnTop = true;
bluedevilglobalrc.Global.launchState.value = "disable";
kcminputrc.Keyboard.NumLock = 1;
krunnerrc.General.FreeFloating = true;
plasmanotifyrc = {
Notifications = {
NormalAlwaysOnTop = true;
};
};
krunnerrc = {
General = {
ActivateWhenTypingOnDesktop = false;
FreeFloating = true;
};
};
kscreenlockerrc = {
Daemon.Timeout = 15;
Greeter.WallpaperPlugin = "org.kde.potd";
@ -227,11 +242,32 @@
inactiveForeground = "112,125,138";
};
};
breezerc = {
Common = {
OutlineClassButton = true;
ShadowSize = "ShadowVeryLarge";
ShadowStrength = "128";
};
Style = {
MenuOpacity = "80";
};
};
dolphinrc = {
ContentDisplay = {
UsePermissionsFormat = "CombinedFormat";
};
General = {
BrowseThroughArchives = true;
OpenNewTabAfterLastTab = true;
RememberOpenedTabs = false;
};
};
kwinrc = {
Plugins = {
frozenappEnabled = false;
mouseclickEnabled = true;
shakecursorEnabled = false;
invertEnabled = true;
};
Windows = {
FocusPolicy = "FocusFollowsMouse";
@ -248,9 +284,9 @@
# blur to all windows
Inactive = 100;
MoveResize = 100;
Dialogs = 100;
ComboboxPopups = 100;
Menus = 100;
Dialogs = 50;
ComboboxPopups = 50;
Menus = 50;
};
"org.kde.kdecoration2" = {
BorderSize = "None";

View file

@ -14,6 +14,7 @@
};
systemPackages = with pkgs; [
libsecret
libnotify
xdg-utils
hunspell
hunspellDicts.en_GB-large