- Removed the Stylix configuration from configuration.nix and created a new stylix.nix file for better organization.
- Enhanced ncli.nix to include generation information during NixOS rebuild and update commands. - Updated niri.nix to include the new stylix module. - Adjusted aliases to ensure correct path referencing. - And some minor changes
This commit is contained in:
36
modules/stylix.nix
Normal file
36
modules/stylix.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
|
||||
imports =
|
||||
[
|
||||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
|
||||
stylix = {
|
||||
enable = true;
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user