Configured Stylix (Disabled for now). Added plasma manager to configure kde plasma deterministically.

This commit is contained in:
2025-11-22 14:17:08 +01:00
parent 949ef79e1c
commit d345c5e207
7 changed files with 517 additions and 139 deletions

View File

@ -12,8 +12,34 @@
{ inputs, config, pkgs, lib, username, host, version, system, ... }:
{
# stylix.enable = true;
# stylix.image = /etc/nixos/other/wallpaper.png;
stylix = {
enable = false;
image = ../other/wallpaper2.png;
#autoEnable = true; #Auto generate theme based on wallpaper
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-moon.yaml";
opacity = {
desktop = 0.5;
terminal = 0.9;
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
sansSerif = {
package = pkgs.inter;
name = "Inter";
};
serif = {
package = pkgs.noto-fonts;
name = "Noto Serif";
};
};
targets.grub.enable = false;
};
# in configuration.nix
#Assign Swap to the PC
#swapDevices = [{
@ -46,14 +72,14 @@
};
};
#"minimal" = {
# inheritParentConfig = false;
# configuration = {
# imports = [
# ./minimal.nix
# ];
# };
#};
"minimal" = {
inheritParentConfig = false;
configuration = {
imports = [
./minimal.nix
];
};
};
};
@ -69,8 +95,10 @@
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
#splashImage =
};
grub2-theme = {
enable = true;
theme = "whitesur";
@ -99,6 +127,7 @@
users.${username} = ./home.nix;
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
extraSpecialArgs = { inherit inputs username version system host; };
sharedModules = [ inputs.plasma-manager.homeModules.plasma-manager ];
};
# Enable networking