Update Plasma

This commit is contained in:
albert 2024-06-21 10:50:33 +09:00
parent 3fd603340f
commit 683e8aa4d7
Signed by: albert
GPG key ID: 3895DD267CA11BA9
4 changed files with 45 additions and 33 deletions

View file

@ -15,9 +15,6 @@
overrideConfig = true;
configFile = {
kscreenlockerrc = {
# Laptop - natural scrolling
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll" = true;
# Set Lock Screen Wallpaper
"Greeter/Wallpaper/org.kde.image/General" = {
Image = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
@ -25,31 +22,36 @@
};
};
kwinrc = {
# Tiling - Laptop
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f"."tiles" = "{
\"layoutDirection\":\"horizontal\",
\"tiles\":[
{
\"layoutDirection\":\"vertical\",
\"tiles\":[
{
\"height\":0.5
},
{
\"height\":0.5
}
],
\"width\":0.4
},
{
\"width\":0.6
}
]
}";
# Set the activity manager default activity to match the one for Tiling
kactivitymanagerdrc = {
activites.d67b1509-69a3-585f-adcc-1048a4265c4f = "Default";
main.currentActivity = "d67b1509-69a3-585f-adcc-1048a4265c4f";
};
Tiling = {
padding = 10;
kwinrc = {
# Tiling - Single Screen
Tiling.Padding = 10;
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f" = {
tiles = "{
\"layoutDirection\":\"horizontal\",
\"tiles\":[
{
\"layoutDirection\":\"vertical\",
\"tiles\":[
{
\"height\":0.5
},
{
\"height\":0.5
}
],
\"width\":0.4
},
{
\"width\":0.6
}
]
}";
};
# Set window border size

View file

@ -1,3 +1,10 @@
{
{ ... }: {
programs.plasma = {
configFile = {
kscreenlockerdrc = {
# Laptop - natural scrolling
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll" = true;
};
};
};
}

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: {
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
hardware.pulseaudio.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
@ -25,6 +25,7 @@
papirus-icon-theme
plasma-theme-switcher
tailscale-systray
la-capitaine-icon-theme
];
services.xrdp.defaultWindowManager = "startplasma-x11";

View file

@ -6,7 +6,9 @@
../../common/modules/fonts.nix
];
services.xrdp.openFirewall = true;
services.xrdp.enable = true;
services.xrdp.audio.enable = true;
services.xrdp = {
openFirewall = true;
enable = true;
audio.enable = true;
};
}