refactor2

This commit is contained in:
Lilith 2025-03-12 16:02:38 +01:00
parent 06f6636d75
commit 8b771361d0
Signed by: lilith
GPG key ID: 8712A0F317C37175
4 changed files with 39 additions and 43 deletions

View file

@ -3,6 +3,6 @@
./nfs.nix
./desktop.nix
./gaming.nix
./stylix
./stylix.nix
];
}

View file

@ -0,0 +1,38 @@
{stylix, pkgs, config, lib, ...}: {
imports = [ stylix.nixosModules.stylix ];
options.stylix.enable = lib.mkEnableOption "Enable Stylix";
config = lib.mkIf config.stylix.enable {
stylix = {
enable = true;
image = ../../../wallpapers/default.png;
polarity = "dark";
opacity = {
terminal = 0.8;
popups = 0.8;
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
emoji = {
package = pkgs.twemoji-color-font;
name = "Twemoji";
};
sizes = { applications = 14; desktop = 12; popups = 12; terminal = 14; };
};
cursor = {
package = pkgs.rose-pine-cursor;
name = "Rosé Pine";
};
};
};
}

View file

@ -1,10 +0,0 @@
{stylix, pkgs, config, lib, ...}: {
options.stylix.enable = lib.mkEnableOption "Enable Stylix";
config = lib.mkIf config.stylix.enable {
imports = [
stylix.nixosModules.stylix
./style.nix
];
};
}

View file

@ -1,32 +0,0 @@
{ pkgs, ...}: {
stylix = {
enable = true;
image = ../../../wallpapers/default.png;
polarity = "dark";
opacity = {
terminal = 0.8;
popups = 0.8;
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font";
};
emoji = {
package = pkgs.twemoji-color-font;
name = "Twemoji";
};
sizes = { applications = 14; desktop = 12; popups = 12; terminal = 14; };
};
cursor = {
package = pkgs.rose-pine-cursor;
name = "Rosé Pine";
};
};
}