Added Stylix
This commit is contained in:
12
hosts/common/optional/theming/targets/all-except-vscode.nix
Normal file
12
hosts/common/optional/theming/targets/all-except-vscode.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
stylix.enable = true;
|
||||
|
||||
stylix.autoEnable = true;
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
stylix.autoEnable = true;
|
||||
stylix.targets.vscode.enable = false;
|
||||
}
|
||||
];
|
||||
}
|
||||
19
hosts/common/optional/theming/themes/tokyonight/default.nix
Normal file
19
hosts/common/optional/theming/themes/tokyonight/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
pkgs,
|
||||
system,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
stylix.enable = true;
|
||||
|
||||
stylix.image = ./wallpaper.jpg;
|
||||
|
||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-city-dark.yaml";
|
||||
|
||||
stylix.fonts = {
|
||||
monospace = {
|
||||
package = pkgs.fira-code-nerdfont;
|
||||
name = "Fira Code Nerd Font";
|
||||
};
|
||||
};
|
||||
}
|
||||
BIN
hosts/common/optional/theming/themes/tokyonight/wallpaper.jpg
Normal file
BIN
hosts/common/optional/theming/themes/tokyonight/wallpaper.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 176 KiB |
@@ -38,6 +38,11 @@
|
||||
};
|
||||
}
|
||||
|
||||
#
|
||||
# ========== Theming ==========
|
||||
#
|
||||
inputs.stylix.nixosModules.stylix
|
||||
|
||||
(map lib.custom.relativeToRoot [
|
||||
#
|
||||
# ========== Required Configs ==========
|
||||
@@ -66,6 +71,10 @@
|
||||
"hosts/common/optional/kde.nix"
|
||||
"hosts/common/optional/sddm.nix"
|
||||
"hosts/common/optional/thermal-management.nix"
|
||||
|
||||
# Theming
|
||||
"hosts/common/optional/theming/targets/all-except-vscode.nix"
|
||||
"hosts/common/optional/theming/themes/tokyonight"
|
||||
])
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user