non important commit
This commit is contained in:
parent
d81246ab3e
commit
8106bcd14e
4 changed files with 109 additions and 6 deletions
|
|
@ -14,12 +14,12 @@
|
||||||
pipewire
|
pipewire
|
||||||
|
|
||||||
# Display / input
|
# Display / input
|
||||||
xorg.libX11
|
libX11
|
||||||
xorg.libXcursor
|
libXcursor
|
||||||
xorg.libXrandr
|
libXrandr
|
||||||
xorg.libXi
|
libXi
|
||||||
xorg.libXext
|
libXext
|
||||||
xorg.libXfixes
|
libXfixes
|
||||||
wayland
|
wayland
|
||||||
|
|
||||||
# Common runtime deps most Unity/Godot/etc games need
|
# Common runtime deps most Unity/Godot/etc games need
|
||||||
|
|
|
||||||
10
flake.nix
10
flake.nix
|
|
@ -33,6 +33,11 @@
|
||||||
url = "github:sodiboo/niri-flake";
|
url = "github:sodiboo/niri-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
stylix = {
|
||||||
|
url = "github:danth/stylix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {nixpkgs, ...} @ inputs: let
|
outputs = {nixpkgs, ...} @ inputs: let
|
||||||
|
|
@ -49,6 +54,7 @@
|
||||||
./configuration/${device-name}/configuration.nix
|
./configuration/${device-name}/configuration.nix
|
||||||
./configuration/${device-name}/hardware-configuration.nix
|
./configuration/${device-name}/hardware-configuration.nix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
|
inputs.stylix.nixosModules.stylix
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
@ -64,6 +70,10 @@
|
||||||
imports = [./home/${device-name}/home.nix];
|
imports = [./home/${device-name}/home.nix];
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sharedModules = [
|
||||||
|
inputs.stylix.homeModules.stylix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
./shell
|
./shell
|
||||||
./create-project/create-project.nix
|
./create-project/create-project.nix
|
||||||
./games
|
./games
|
||||||
|
./theming.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
92
home/modules/theming.nix
Normal file
92
home/modules/theming.nix
Normal file
|
|
@ -0,0 +1,92 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
stylix = {
|
||||||
|
enable = true;
|
||||||
|
overlays.enable = false;
|
||||||
|
|
||||||
|
targets = {
|
||||||
|
gtk.enable = true;
|
||||||
|
qt.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark.yaml";
|
||||||
|
opacity.terminal = 0.75;
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Ice";
|
||||||
|
size = 14;
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
sizes = {
|
||||||
|
applications = 10;
|
||||||
|
desktop = 10;
|
||||||
|
terminal = 9;
|
||||||
|
popups = 8;
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||||
|
name = "JetBrainsMono Nerd Font";
|
||||||
|
};
|
||||||
|
|
||||||
|
sansSerif = {
|
||||||
|
package = pkgs.dejavu_fonts;
|
||||||
|
name = "DejaVu Sans";
|
||||||
|
};
|
||||||
|
|
||||||
|
serif = {
|
||||||
|
package = pkgs.dejavu_fonts;
|
||||||
|
name = "DejaVu Serif";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
polarity = "dark";
|
||||||
|
image = ../../assets/shadow_dark.png;
|
||||||
|
};
|
||||||
|
|
||||||
|
qt.enable = true;
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
iconTheme = {
|
||||||
|
name = "Papirus-Dark";
|
||||||
|
package = pkgs.papirus-icon-theme;
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk3.extraConfig = {
|
||||||
|
gtk-recent-files-enabled = 0;
|
||||||
|
gtk-recent-files-limit = 0;
|
||||||
|
gtk-recent-files-max-age = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
wayland.desktopManager.cosmic.appearance = {
|
||||||
|
theme = "Dark";
|
||||||
|
darkTheme = {
|
||||||
|
# ── Backgrounds ───────────────────────────────────────────
|
||||||
|
backgroundColor = { r = 0.157; g = 0.157; b = 0.157; a = 1.0; }; # #282828 bg0
|
||||||
|
primaryContainerColor = { r = 0.196; g = 0.196; b = 0.196; a = 1.0; }; # #323232 bg1
|
||||||
|
secondaryContainerColor = { r = 0.224; g = 0.212; b = 0.196; a = 1.0; }; # #3c3836 bg2
|
||||||
|
|
||||||
|
# ── Accent (yellow — swap base0D for blue if preferred) ───
|
||||||
|
accentColor = { r = 0.980; g = 0.737; b = 0.184; }; # #fac232 yellow
|
||||||
|
|
||||||
|
# ── Text ──────────────────────────────────────────────────
|
||||||
|
onBackgroundColor = { r = 0.922; g = 0.859; b = 0.698; a = 1.0; }; # #ebdbb2 fg1
|
||||||
|
|
||||||
|
# ── Semantic colors ───────────────────────────────────────
|
||||||
|
destructiveColor = { r = 0.984; g = 0.286; b = 0.204; }; # #fb4934 red
|
||||||
|
successColor = { r = 0.722; g = 0.733; b = 0.149; }; # #b8bb26 green
|
||||||
|
warningColor = { r = 0.980; g = 0.737; b = 0.184; }; # #fabd2f yellow
|
||||||
|
|
||||||
|
# ── Shape ─────────────────────────────────────────────────
|
||||||
|
cornerRadii = {
|
||||||
|
roundedSmall = 4;
|
||||||
|
roundedMedium = 8;
|
||||||
|
roundedLarge = 16;
|
||||||
|
};
|
||||||
|
windowHintOutlineWidth = 2;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue