cityseventeen: rename and make tokyo night
This commit is contained in:
parent
6004b4eac5
commit
0d7aa6843b
36 changed files with 394 additions and 438 deletions
44
hosts/cityseventeen/theme.nix
Normal file
44
hosts/cityseventeen/theme.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
themes = {
|
||||
gtk = {
|
||||
name = "Tokyonight-Dark";
|
||||
package = pkgs.tokyonight-gtk-theme;
|
||||
};
|
||||
icons = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
};
|
||||
cursor = {
|
||||
name = "Simp1e-Tokyo-Night";
|
||||
package = pkgs.simp1e-cursors;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
alqueva.system.dconf = {
|
||||
enable = true;
|
||||
luminosity = "dark";
|
||||
theme = themes.gtk.name;
|
||||
icon.theme = themes.icons.name;
|
||||
cursor = {
|
||||
size = 24;
|
||||
theme = themes.cursor.name;
|
||||
};
|
||||
};
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme = "qt5ct";
|
||||
style = "kvantum";
|
||||
};
|
||||
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"L+ %h/.config/gtk-4.0 - - - - ${themes.gtk.package}/share/themes/${themes.gtk.name}/gtk-4.0"
|
||||
];
|
||||
|
||||
environment.systemPackages = builtins.attrValues (builtins.mapAttrs (_: v: v.package) themes);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue