FINALLY, it was stylix that was breaking the desktop!!!

This commit is contained in:
Chris Kruining 2025-03-23 16:12:22 +01:00
parent ec7429d384
commit 32f2213e88
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
10 changed files with 317 additions and 234 deletions

View file

@ -1,19 +1,25 @@
{ config, options, lib, pkgs, user, ... }:
{ config, lib, user, ... }:
let
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
in
{
options.modules.${user}.shell.toolset.starship = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "minimal shell ricing";
options.modules.${user}.shell.toolset.starship = {
enable = mkEnableOption "fancy pansy shell prompt";
};
config = mkIf config.modules.${user}.shell.toolset.starship.enable {
home-manager.users.${user}.programs.starship = {
enable = true;
settings = let
inherit (config.lib.stylix.colors) cyan red magenta yellow green blue;
# inherit (config.lib.stylix.colors) cyan red magenta yellow green blue;
cyan = "#00ffff";
red = "#ff0000";
magenta = "#ff00ff";
yellow = "#ffff00";
green = "#00ff00";
blue = "#0000ff";
in {
scan_timeout = 10;
add_newline = true;