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; overrideConfig = true;
configFile = { configFile = {
kscreenlockerrc = { kscreenlockerrc = {
# Laptop - natural scrolling
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll" = true;
# Set Lock Screen Wallpaper # Set Lock Screen Wallpaper
"Greeter/Wallpaper/org.kde.image/General" = { "Greeter/Wallpaper/org.kde.image/General" = {
Image = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png"; 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 = { kwinrc = {
# Tiling - Laptop # Tiling - Single Screen
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f"."tiles" = "{ Tiling.Padding = 10;
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f" = {
tiles = "{
\"layoutDirection\":\"horizontal\", \"layoutDirection\":\"horizontal\",
\"tiles\":[ \"tiles\":[
{ {
@ -47,9 +52,6 @@
} }
] ]
}"; }";
Tiling = {
padding = 10;
}; };
# Set window border size # 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, ... }: { { pkgs, ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -25,6 +25,7 @@
papirus-icon-theme papirus-icon-theme
plasma-theme-switcher plasma-theme-switcher
tailscale-systray tailscale-systray
la-capitaine-icon-theme
]; ];
services.xrdp.defaultWindowManager = "startplasma-x11"; services.xrdp.defaultWindowManager = "startplasma-x11";

View file

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