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
|
# User Machines
|
||||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "plasma6"; theme = "gruvbox"; };
|
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"; };
|
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
|
# Raspberry Pi's
|
||||||
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
# User Machines
|
# User Machines
|
||||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; theme = "gruvbox"; };
|
"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@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
|
# Raspberry Pi's
|
||||||
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ inputs, pkgs, ... }: {
|
{ inputs, theme, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||||
|
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
|
||||||
./plasma-manager.nix
|
./plasma-manager.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -26,12 +26,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
kdeglobals = {
|
|
||||||
General = {
|
|
||||||
accentColorFromWallpaper = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
kwinrc = {
|
kwinrc = {
|
||||||
# Set window border size
|
# Set window border size
|
||||||
"org.kde.kdecoration2" = {
|
"org.kde.kdecoration2" = {
|
||||||
|
@ -61,7 +55,6 @@
|
||||||
|
|
||||||
workspace = {
|
workspace = {
|
||||||
clickItemTo = "select";
|
clickItemTo = "select";
|
||||||
# iconTheme = "Breeze";
|
|
||||||
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
||||||
theme = "Arc-Dark";
|
theme = "Arc-Dark";
|
||||||
colorScheme = "Arc";
|
colorScheme = "Arc";
|
||||||
|
@ -78,7 +71,8 @@
|
||||||
{
|
{
|
||||||
name = "org.kde.plasma.kicker";
|
name = "org.kde.plasma.kicker";
|
||||||
config = {
|
config = {
|
||||||
General.icon = "nix-snowflake-white";
|
General.icon = "draw-circle";
|
||||||
|
# General.icon = "nix-snowflake-white";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
kdePackages.kleopatra # GPG GUI
|
kdePackages.kleopatra # GPG GUI
|
||||||
kdePackages.krdc # K Remote Desktop
|
kdePackages.krdc # K Remote Desktop
|
||||||
kdePackages.kasts # Podcast player
|
kdePackages.kasts # Podcast player
|
||||||
|
kde-gruvbox
|
||||||
|
gruvbox-gtk-theme
|
||||||
|
|
||||||
# Audio button workaround
|
# Audio button workaround
|
||||||
# plasma-pa
|
# 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