Try plasma manager

This commit is contained in:
Invariantspace 2024-06-15 17:37:25 -07:00
parent a1b832c179
commit fcbe6a3a66
No known key found for this signature in database
GPG key ID: EBC4A20067373921
7 changed files with 165 additions and 59 deletions

View file

@ -4,9 +4,10 @@
imports = with inputs; [
home-manager.nixosModules.default
sops-nix.nixosModules.default
] ++ [
./constants.nix
./secrets.nix
./users.nix
];
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
}

View file

@ -21,6 +21,7 @@ in
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.${usr} = { config, osConfig, pkgs, ... }:
{
home = {
@ -32,7 +33,16 @@ in
nixpkgs-fmt
rclone
sops
];
] ++ (if config.programs.plasma.enable then [
sweet-ambar-blue
yorha-sound-theme
] ++ (with kdePackages; [
qtmultimedia
qtstyleplugin-kvantum
qtwebchannel
qtwebengine
qtwebsockets
]) else [ ]);
stateVersion = osConfig.system.stateVersion;
};
programs = {
@ -71,6 +81,20 @@ in
theme = "base16_transparent";
};
};
plasma = {
configFile = {
"kscreenlockerrc"."Daemon"."Autolock" = false;
"kscreenlockerrc"."Greeter"."WallpaperPlugin" = "org.kde.potd";
};
spectacle.shortcuts.captureRectangularRegion = "Meta+Shift+S";
workspace = {
colorScheme = "SweetAmbarBlue";
cursor.theme = "Sweet-cursors";
iconTheme = "Sweet-Rainbow";
lookAndFeel = "Sweet-Ambar-Blue";
theme = "Sweet-Ambar-Blue";
};
};
ripgrep.enable = true;
starship = {
enable = true;