This commit is contained in:
Hadi 2024-07-24 23:38:16 +02:00
parent 830dc909e2
commit a7bd5ad28b
3 changed files with 55 additions and 2 deletions

View File

@ -28,6 +28,6 @@
obsidian = true;
tailscale = true;
theme = import ../themes/nixy.nix; # select your theme here
theme = import ../themes/pink.nix; # select your theme here
};
}

View File

@ -4,7 +4,8 @@ let
config.boot.kernelPackages.nvidiaPackages.beta; # stable, latest, etc.
in {
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ]; # or "nvidiaLegacy470 etc.
services.xserver.videoDrivers =
[ "nvidia" "displayLink" ]; # or "nvidiaLegacy470 etc.
boot.kernelParams =
lib.optionals (lib.elem "nvidia" config.services.xserver.videoDrivers) [
"nvidia-drm.modeset=1"

52
hosts/themes/pink.nix Normal file
View File

@ -0,0 +1,52 @@
{
wallpaper = "dark.png";
font = "SFProDisplay Nerd Font";
font-mono = "FiraCode Nerd Font Mono";
font-size = 14;
rounding = 15;
gaps-in = 10;
gaps-out = 10 * 2;
border-size = 3;
animation-speed = "fast"; # "fast" | "medium" | "slow"
fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
waybar = {
transparent = true;
float = true;
position = "top";
font-size = 15;
};
colors = {
c0 = "1e1e2e"; # black
c1 = "f38ba8"; # red
c2 = "a6e3a1"; # green
c3 = "fab387"; # yellow
c4 = "89b4fa"; # blue
c5 = "A594FD"; # magenta
c6 = "74c7ec"; # cyan
c7 = "cdd6f4"; # white
c8 = "313244"; # bright black
c9 = "dea2bd"; # bright red
c10 = "94e2d5"; # bright green
c11 = "f9e2af"; # bright yellow
c12 = "b4befe"; # bright blue
c13 = "f5c2e7"; # bright magenta
c14 = "94e2d5"; # bright cyan
c15 = "bac2de"; # bright white
bg = "0B0B0B";
fg = "EAF0F5";
bgalt = "121212";
fgalt = "EAF0F5";
accent = "dea2bd";
accentFg = "0B0B0B";
# Should make those automtic
accentName = "bright red";
accentNumber = "9";
};
}