services/stylix: init with catppuccin-mocha
This commit is contained in:
parent
86afefe071
commit
519a274f17
2 changed files with 35 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
||||||
url = "github:nix-community/lanzaboote/v0.4.2";
|
url = "github:nix-community/lanzaboote/v0.4.2";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
stylix = {
|
||||||
|
url = "github:nix-community/stylix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
nvim-lazy = {
|
nvim-lazy = {
|
||||||
url = "git+https://git.ophanim.de/derped/lazy.nvim.nix.git";
|
url = "git+https://git.ophanim.de/derped/lazy.nvim.nix.git";
|
||||||
# url = "git+file:///home/derped/Projects/nvim";
|
# url = "git+file:///home/derped/Projects/nvim";
|
||||||
|
|
31
services/stylix.nix
Normal file
31
services/stylix.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
stylix,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
stylix.nixosModules.stylix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
// lib.mkIf (lib.elem "stylix" config.machine.services) {
|
||||||
|
stylix = {
|
||||||
|
enable = true;
|
||||||
|
autoEnable = true;
|
||||||
|
polarity = "dark";
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||||
|
fonts = {
|
||||||
|
emoji = {
|
||||||
|
name = "JetBrainsMono Nerd Font";
|
||||||
|
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||||
|
};
|
||||||
|
monospace = {
|
||||||
|
name = "JetBrainsMono Nerd Font";
|
||||||
|
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue