add stylix

This commit is contained in:
sadan 2024-11-17 21:15:32 -05:00
parent 95a3b897f4
commit 8cc2802a15
No known key found for this signature in database
4 changed files with 64 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
imports =
[
@ -15,6 +15,8 @@
../../common/systemModules/gaming.nix
../../common/systemModules/crypt.nix
../../common/systemModules/printing.nix
../../common/systemModules/stylix.nix
inputs
# USERS
../../common/users/meyer
];

View file

@ -0,0 +1,25 @@
{ pkgs, config, ... }:
{
stylix = {
enable = true;
base16scheme = ./tokyonight.yaml;
fonts = {
emoji = {
package = pkgs.twemoji-color-font;
name = "Twemoji Color Emoji";
};
sansSerif = {
package = pkgs.nerdfonts;
name = "ComicShannsMono Nerd Font Mono";
};
serif = {
package = pkgs.nerdfonts;
name = "ComicShannsMono Nerd Font Mono";
};
monospace = {
package = pkgs.nerdfonts;
name = "ComicShannsMono Nerd Font Mono";
};
};
};
}

View file

@ -0,0 +1,21 @@
system: "base16"
name: "Tokyo Night Dark"
author: "Michaël Ball"
variant: "dark"
palette:
base00: "#1A1B26"
base01: "#16161E"
base02: "#2F3549"
base03: "#444B6A"
base04: "#787C99"
base05: "#A9B1D6"
base06: "#CBCCD1"
base07: "#D5D6DB"
base08: "#C0CAF5"
base09: "#A9B1D6"
base0A: "#0DB9D7"
base0B: "#9ECE6A"
base0C: "#B4F9F8"
base0D: "#2AC3DE"
base0E: "#BB9AF7"
base0F: "#F7768E"

View file

@ -14,8 +14,18 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-wsl, ... }@inputs:
outputs =
{
self,
nixpkgs,
nixos-wsl,
...
}@inputs:
# let
# boxes = [
# "default"
@ -35,12 +45,15 @@
];
};
nix-desktop-evo4b5 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
specialArgs = {
inherit inputs;
};
system = "x86_64-linux";
modules = [
./boxes/desktop/configuration.nix
inputs.home-manager.nixosModules.default
inputs.nix-index-database.nixosModules.nix-index
inputs.stylix.nixosModules.stylix
{ programs.nix-index-database.comma.enable = true; }
];
};