feat(systems theme): add stylix, nix-colors
This commit is contained in:
parent
3160709949
commit
584b840bba
13
flake.nix
13
flake.nix
|
@ -65,10 +65,15 @@
|
||||||
# -------------------------- Nix-Colors --------------------------- #
|
# -------------------------- Nix-Colors --------------------------- #
|
||||||
# TODO
|
# TODO
|
||||||
# https://github.com/Misterio77/nix-colors
|
# https://github.com/Misterio77/nix-colors
|
||||||
#nix-colors = {
|
nix-colors = {
|
||||||
# url = "github:misterio77/nix-colors";
|
url = "github:misterio77/nix-colors";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
#};
|
};
|
||||||
|
|
||||||
|
# ---------------------------- Stylix ----------------------------- #
|
||||||
|
stylix = {
|
||||||
|
url = "github:danth/stylix";
|
||||||
|
};
|
||||||
# ====================== Personal Repositories ====================== #
|
# ====================== Personal Repositories ====================== #
|
||||||
|
|
||||||
# Private secrets repo. See ./docs/secretsmgmt.md
|
# Private secrets repo. See ./docs/secretsmgmt.md
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
{ pkgs, inputs, configLib, ... }:
|
||||||
|
{
|
||||||
|
stylix = {
|
||||||
|
enable = true;
|
||||||
|
polarity = "dark"; # TODO: light
|
||||||
|
image = ( configLib.relativeToRoot "assets/worm.png" );
|
||||||
|
base16Scheme = inputs.nix-colors.colorSchemes.atelier-dune; #TODO: atelier-dune-light
|
||||||
|
cursor = {
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Ice"; #TODO: light - Modern-Classic
|
||||||
|
size = 24;
|
||||||
|
};
|
||||||
|
fonts = {
|
||||||
|
monospace = {
|
||||||
|
package = pkgs.nerdfonts.override {fonts = ["GeistMono"];};
|
||||||
|
name = "Geist Mono Vercel Nerd Font Mono";
|
||||||
|
};
|
||||||
|
sansSerif = {
|
||||||
|
package = pkgs.liberation_ttf;
|
||||||
|
name = "Liberation Sans";
|
||||||
|
};
|
||||||
|
serif = {
|
||||||
|
package = pkgs.eb-garamond;
|
||||||
|
name = "EB Garamond Regular";
|
||||||
|
};
|
||||||
|
sizes = {
|
||||||
|
applications = 12;
|
||||||
|
terminal = 14;
|
||||||
|
desktop = 12;
|
||||||
|
popups = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
opacity = {
|
||||||
|
applications = 1.0;
|
||||||
|
terminal = 0.8;
|
||||||
|
desktop = 1.0;
|
||||||
|
popups = 1.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,15 +10,15 @@
|
||||||
{ inputs, configLib, ... }:
|
{ inputs, configLib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
#################### Every Host Needs This ####################
|
# ================= Every Host Needs This ==================== #
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
#################### Hardware Modules ####################
|
# ==================== Hardware Modules ====================== #
|
||||||
inputs.hardware.nixosModules.common-cpu-amd
|
inputs.hardware.nixosModules.common-cpu-amd
|
||||||
inputs.hardware.nixosModules.common-gpu-amd
|
inputs.hardware.nixosModules.common-gpu-amd
|
||||||
inputs.hardware.nixosModules.common-pc-ssd
|
inputs.hardware.nixosModules.common-pc-ssd
|
||||||
|
|
||||||
#################### Disk Layout ####################
|
# ====================== Disk Layout ========================= #
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
( configLib.relativeToRoot "systems/common/disks/jeroboam.nix")
|
( configLib.relativeToRoot "systems/common/disks/jeroboam.nix")
|
||||||
{
|
{
|
||||||
|
@ -28,12 +28,15 @@
|
||||||
swapSize = "16";
|
swapSize = "16";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ======================= Themeing ========================== #
|
||||||
|
inputs.stylix.nixosModules.stylix
|
||||||
]
|
]
|
||||||
++ (map configLib.relativeToRoot [
|
++ (map configLib.relativeToRoot [
|
||||||
# = Required Configs ####################
|
# = Required Configs ####################
|
||||||
"systems/common/core"
|
"systems/common/core"
|
||||||
|
|
||||||
#################### Host-specific Configs ####################
|
# --------------- Host-specific Configs -------------------- #
|
||||||
#"systems/common/optional/services/clamav.nix" # depends on optional/msmtp.nix
|
#"systems/common/optional/services/clamav.nix" # depends on optional/msmtp.nix
|
||||||
#"systems/common/optional/msmtp.nix" # required for emailing clamav alerts
|
#"systems/common/optional/msmtp.nix" # required for emailing clamav alerts
|
||||||
#"systems/common/optional/services/openssh.nix" # allow remote ssh
|
#"systems/common/optional/services/openssh.nix" # allow remote ssh
|
||||||
|
@ -42,13 +45,17 @@
|
||||||
"systems/common/optional/boot/loud_boot.nix" # for testing, otherwise quiet_boot.nix
|
"systems/common/optional/boot/loud_boot.nix" # for testing, otherwise quiet_boot.nix
|
||||||
#"systems/common/optional/boot/quiet_boot.nix" # with plymouth pretty custom load sequence
|
#"systems/common/optional/boot/quiet_boot.nix" # with plymouth pretty custom load sequence
|
||||||
"systems/common/optional/boot/initrd_luks.nix" # luks encryption with pass only
|
"systems/common/optional/boot/initrd_luks.nix" # luks encryption with pass only
|
||||||
# Desktop
|
|
||||||
|
# ------------------------ Desktop --------------------------- #
|
||||||
#"systems/common/optional/services/greetd.nix" # display manager
|
#"systems/common/optional/services/greetd.nix" # display manager
|
||||||
#"systems/common/optional/hyprland.nix" # window manager
|
#"systems/common/optional/hyprland.nix" # window manager
|
||||||
#################### Users to Create ####################
|
|
||||||
|
# ---------------------- Users to Create ---------------------- #
|
||||||
#"systems/common/users/zhuangzi"
|
#"systems/common/users/zhuangzi"
|
||||||
"systems/common/users/laozi"
|
"systems/common/users/laozi"
|
||||||
|
|
||||||
|
# ---------------------- Themeing ----------------------------- #
|
||||||
|
"systems/common/optional/stylix.nix"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
# set custom autologin options. see greetd.nix for details
|
# set custom autologin options. see greetd.nix for details
|
||||||
|
|
Loading…
Reference in New Issue