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,31 +22,36 @@
}; };
}; };
kwinrc = { # Set the activity manager default activity to match the one for Tiling
# Tiling - Laptop kactivitymanagerdrc = {
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f"."tiles" = "{ activites.d67b1509-69a3-585f-adcc-1048a4265c4f = "Default";
\"layoutDirection\":\"horizontal\", main.currentActivity = "d67b1509-69a3-585f-adcc-1048a4265c4f";
\"tiles\":[ };
{
\"layoutDirection\":\"vertical\",
\"tiles\":[
{
\"height\":0.5
},
{
\"height\":0.5
}
],
\"width\":0.4
},
{
\"width\":0.6
}
]
}";
Tiling = { kwinrc = {
padding = 10; # 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 # 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;
};
} }