cappucchin: global theme enable

This commit is contained in:
Christoph Hollizeck 2024-12-28 06:02:18 +01:00
parent cb76031ca7
commit b91d90c2fe
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 17 additions and 1680 deletions

1673
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -84,6 +84,7 @@
}; };
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05"; simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
catppuccin.url = "github:catppuccin/nix";
################ ################
## inputs for dev shells ## inputs for dev shells
@ -125,10 +126,17 @@
hyprpanel.overlay hyprpanel.overlay
]; ];
homes.modules = with inputs; [
sops-nix.homeManagerModules.sops
catppuccin.homeManagerModules.catppuccin
];
systems.modules.nixos = with inputs; [ systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-ld.nixosModules.nix-ld nix-ld.nixosModules.nix-ld
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
catppuccin.nixosModules.catppuccin
]; ];
systems.hosts.nixberry.modules = with inputs; [ systems.hosts.nixberry.modules = with inputs; [

View file

@ -40,7 +40,7 @@ in
programs.kitty = { programs.kitty = {
enable = true; enable = true;
themeFile = "tokyo_night_night"; # themeFile = "tokyo_night_night";
font = { font = {
name = "Code New Roman"; name = "Code New Roman";
size = 15; size = 15;

View file

@ -46,7 +46,6 @@ in
package = helix-pkg; package = helix-pkg;
defaultEditor = true; defaultEditor = true;
settings = { settings = {
theme = "tokyonight";
editor = { editor = {
auto-format = true; auto-format = true;
line-number = "relative"; line-number = "relative";

View file

@ -17,11 +17,15 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
catppuccin.flavor = "mocha";
catppuccin.enable = true;
${namespace}.home.extraOptions = { ${namespace}.home.extraOptions = {
dconf.settings = { catppuccin.flavor = "mocha";
"org/gnome/desktop/interface" = { catppuccin.enable = true;
color-scheme = "prefer-dark";
}; dconf = {
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
}; };
gtk = { gtk = {
@ -40,6 +44,5 @@ in
platformTheme = "gnome"; platformTheme = "gnome";
style = "adwaita-dark"; style = "adwaita-dark";
}; };
}; };
} }