This commit is contained in:
joy 2024-11-24 16:19:57 +01:00
parent df39d262cc
commit afd74b56ea
7 changed files with 104 additions and 43 deletions

View file

@ -97,11 +97,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1732248209, "lastModified": 1732453878,
"narHash": "sha256-Mv8k0VuGdb6YhhKt+8SIvhMdmI4xZhw/3ycSvlAq19Q=", "narHash": "sha256-Sx5srP6yytPH1Aw7SfARM7jblIBLoEl4U8hZUN6M4Fk=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "4a8ba00d1be3f3745428ed56efbb32155c548192", "rev": "2086e1e4b9ada90a0ac3121c97a3e20f3b92bd37",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -203,11 +203,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732303962, "lastModified": 1732453510,
"narHash": "sha256-5Umjb5AdtxV5jSJd5jxoCckh5mlg+FBQDsyAilu637g=", "narHash": "sha256-mAOaLu++YRwOxCJ135Bhgf78WYhIKWHL2aGWCAoXoBg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8cf9cb2ee78aa129e5b8220135a511a2be254c0c", "rev": "bd58a1132e9b7f121f65313bc662ad6c8a05f878",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,13 +1,9 @@
{ {pkgs, ...}: {
pkgs,
lib,
...
}: {
programs.helix = { programs.helix = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
settings = { settings = {
theme = lib.mkForce "gruvbox"; theme = "gruvbox";
editor = { editor = {
line-number = "relative"; line-number = "relative";
shell = ["zsh" "-c"]; shell = ["zsh" "-c"];

View file

@ -9,7 +9,7 @@
./gnome ./gnome
./hyprland ./hyprland
./polkit ./polkit
./stylix # ./stylix
./syncthing ./syncthing
]; ];
home-manager = { home-manager = {

View file

@ -11,5 +11,6 @@
./misc ./misc
./qt ./qt
./gtk ./gtk
./stylix
]; ];
} }

View file

@ -1,17 +1,17 @@
{lib, ...}: { {
services.dunst = { services.dunst = {
enable = true; enable = true;
settings = { settings = {
global = { global = {
background = lib.mkForce "#282828"; background = "#282828";
foreground = lib.mkForce "#D5C4A1"; foreground = "#D5C4A1";
geometry = "300x60-3+200"; geometry = "300x60-3+200";
padding = 8; padding = 8;
horizontal_padding = 8; horizontal_padding = 8;
separator_height = 2; separator_height = 2;
frame_width = 4; frame_width = 4;
corner_radius = 5; corner_radius = 5;
font = lib.mkForce "DejaVuSansMono 12"; font = "DejaVuSansMono 12";
alignment = "center"; alignment = "center";
vertical_alignment = "center"; vertical_alignment = "center";
ellipsize = "middle"; ellipsize = "middle";
@ -19,15 +19,15 @@
}; };
urgency_low = { urgency_low = {
frame_color = lib.mkForce "#98971a"; frame_color = "#98971a";
}; };
urgency_normal = { urgency_normal = {
frame_color = lib.mkForce "#458588"; frame_color = "#458588";
}; };
urgency_critical = { urgency_critical = {
frame_color = lib.mkForce "#98971a"; frame_color = "#98971a";
}; };
}; };
}; };

View file

@ -0,0 +1,67 @@
{
pkgs,
inputs,
username,
lib,
...
}: let
backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png";
backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM=";
in {
imports = [inputs.stylix.homeManagerModules.stylix];
stylix = {
enable = true;
polarity = "dark";
targets = {
foot.enable = false;
rofi.enable = false;
dunst.enable = false;
helix.enable = false;
# gnome.enable = lib.mkForce false;
};
base16Scheme = {
base00 = "282828"; # ----
base01 = "3c3836"; # ---
base02 = "504945"; # --
base03 = "665c54"; # -
base04 = "bdae93"; # +
base05 = "d5c4a1"; # ++
base06 = "ebdbb2"; # +++
base07 = "fbf1c7"; # ++++
base08 = "cc241d"; # red
base09 = "fe0819"; # orange
base0A = "d79921"; # yellow
base0B = "98971a"; # green
base0C = "689d6a"; # aqua/cyan
base0D = "458588"; # blue
base0E = "b16286"; # purple
base0F = "a89984"; # brown
};
image = pkgs.fetchurl {
url = backgroundUrl;
sha256 = backgroundSha256;
};
cursor = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
size = 24;
};
fonts = {
monospace = {
package = pkgs.nerdfonts.override {fonts = ["RobotoMono"];};
name = "RobotoMono Nerd Font";
};
sizes = {
applications = 12;
terminal = 13;
desktop = 12;
popups = 12;
};
};
};
}

View file

@ -7,11 +7,12 @@
backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png"; backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png";
backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM="; backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM=";
in { in {
imports = [inputs.stylix.nixosModules.stylix]; imports = [inputs.stylix.homeManagerModules.stylix];
stylix = { stylix = {
enable = true; enable = true;
polarity = "dark"; autoEnable = false;
# polarity = "dark";
base16Scheme = { base16Scheme = {
base00 = "282828"; # ---- base00 = "282828"; # ----
@ -37,27 +38,23 @@ in {
sha256 = backgroundSha256; sha256 = backgroundSha256;
}; };
cursor = { # cursor = {
name = "Bibata-Modern-Ice"; # name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors; # package = pkgs.bibata-cursors;
size = 24; # size = 24;
}; # };
fonts = { # fonts = {
monospace = { # monospace = {
package = pkgs.nerdfonts.override {fonts = ["RobotoMono"];}; # package = pkgs.nerdfonts.override {fonts = ["RobotoMono"];};
name = "RobotoMono Nerd Font"; # name = "RobotoMono Nerd Font";
}; # };
sizes = { # sizes = {
applications = 12; # applications = 12;
terminal = 13; # terminal = 13;
desktop = 12; # desktop = 12;
popups = 12; # popups = 12;
}; # };
}; # };
};
home-manager.users.${username}.stylix.targets = {
foot.enable = false;
rofi.enable = false;
}; };
} }