Update Plasma
This commit is contained in:
parent
2308d28965
commit
bcf32b384c
5 changed files with 28 additions and 11 deletions
|
@ -63,7 +63,7 @@
|
|||
# User Machines
|
||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; };
|
||||
|
||||
# Raspberry Pi's
|
||||
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||
|
@ -85,7 +85,7 @@
|
|||
# User Machines
|
||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; theme = "gruvbox"; };
|
||||
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; };
|
||||
|
||||
# Raspberry Pi's
|
||||
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ inputs, pkgs, ... }: {
|
||||
{ inputs, theme, ... }: {
|
||||
imports = [
|
||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
|
||||
./plasma-manager.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -26,12 +26,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
kdeglobals = {
|
||||
General = {
|
||||
accentColorFromWallpaper = true;
|
||||
};
|
||||
};
|
||||
|
||||
kwinrc = {
|
||||
# Set window border size
|
||||
"org.kde.kdecoration2" = {
|
||||
|
@ -61,7 +55,6 @@
|
|||
|
||||
workspace = {
|
||||
clickItemTo = "select";
|
||||
# iconTheme = "Breeze";
|
||||
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
||||
theme = "Arc-Dark";
|
||||
colorScheme = "Arc";
|
||||
|
@ -78,7 +71,8 @@
|
|||
{
|
||||
name = "org.kde.plasma.kicker";
|
||||
config = {
|
||||
General.icon = "nix-snowflake-white";
|
||||
General.icon = "draw-circle";
|
||||
# General.icon = "nix-snowflake-white";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
kdePackages.kleopatra # GPG GUI
|
||||
kdePackages.krdc # K Remote Desktop
|
||||
kdePackages.kasts # Podcast player
|
||||
kde-gruvbox
|
||||
gruvbox-gtk-theme
|
||||
|
||||
# Audio button workaround
|
||||
# plasma-pa
|
||||
|
|
20
stylix/themes/gruvbox/home-manager/plasma6.nix
Normal file
20
stylix/themes/gruvbox/home-manager/plasma6.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, ... }: {
|
||||
programs.bash.sessionVariables = {
|
||||
GTK_THEME = lib.mkForce "Gruvbox-Dark"; # To set the firefox theme
|
||||
};
|
||||
programs.fish.shellInit = lib.mkForce ''
|
||||
set GTK_THEME "Gruvbox-Dark"
|
||||
'';
|
||||
services.darkman = {
|
||||
darkModeScripts = {
|
||||
apply-colorscheme-dark = lib.mkForce ''
|
||||
/run/current-system/sw/bin/plasma-apply-colorscheme Gruvbox
|
||||
'';
|
||||
};
|
||||
lightModeScripts = {
|
||||
apply-colorscheme-light = lib.mkForce ''
|
||||
/run/current-system/sw/bin/plasma-apply-colorscheme BreezeLight
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue