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,9 +22,17 @@
};
};
# 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";
};
kwinrc = {
# Tiling - Laptop
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f"."tiles" = "{
# Tiling - Single Screen
Tiling.Padding = 10;
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f" = {
tiles = "{
\"layoutDirection\":\"horizontal\",
\"tiles\":[
{
@ -47,9 +52,6 @@
}
]
}";
Tiling = {
padding = 10;
};
# 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;
};
}