update flake
This commit is contained in:
parent
0c6d8533f2
commit
f605ddd073
12 changed files with 243 additions and 208 deletions
|
|
@ -1,86 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
c = config.scheme.withHashtag;
|
||||
in
|
||||
{
|
||||
home-manager.users.lucy = {
|
||||
home.packages = with pkgs; [
|
||||
nixd
|
||||
nixfmt
|
||||
clang
|
||||
kdePackages.qtdeclarative
|
||||
];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home.stateVersion = "26.05";
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
theme = {
|
||||
name = "adw-gtk3-dark";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = config.theming.font;
|
||||
package = config.theming.fontPackage;
|
||||
size = 12;
|
||||
};
|
||||
cursorTheme.name = "macOS";
|
||||
cursorTheme.size = 24;
|
||||
gtk3.extraCss = ''
|
||||
@define-color theme_bg_color ${c.base00};
|
||||
@define-color theme_fg_color ${c.base05};
|
||||
@define-color theme_base_color ${c.base00};
|
||||
@define-color theme_text_color ${c.base05};
|
||||
@define-color theme_selected_bg_color ${c.base0D};
|
||||
@define-color theme_selected_fg_color ${c.base00};
|
||||
@define-color insensitive_bg_color ${c.base01};
|
||||
@define-color insensitive_fg_color ${c.base03};
|
||||
@define-color borders ${c.base02};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
gtk4.extraCss = ''
|
||||
@define-color window_bg_color ${c.base00};
|
||||
@define-color window_fg_color ${c.base05};
|
||||
@define-color view_bg_color ${c.base00};
|
||||
@define-color view_fg_color ${c.base05};
|
||||
@define-color headerbar_bg_color ${c.base01};
|
||||
@define-color headerbar_fg_color ${c.base05};
|
||||
@define-color headerbar_border_color ${c.base02};
|
||||
@define-color sidebar_bg_color ${c.base01};
|
||||
@define-color sidebar_fg_color ${c.base05};
|
||||
@define-color card_bg_color ${c.base01};
|
||||
@define-color card_fg_color ${c.base05};
|
||||
@define-color popover_bg_color ${c.base01};
|
||||
@define-color popover_fg_color ${c.base05};
|
||||
@define-color dialog_bg_color ${c.base01};
|
||||
@define-color dialog_fg_color ${c.base05};
|
||||
@define-color accent_bg_color ${c.base0D};
|
||||
@define-color accent_fg_color ${c.base00};
|
||||
@define-color accent_color ${c.base0D};
|
||||
@define-color destructive_bg_color ${c.base08};
|
||||
@define-color destructive_color ${c.base08};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
};
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
lucy@nerv.2718:1788209064
|
||||
|
|
@ -7,78 +7,77 @@ let
|
|||
c = config.scheme.withHashtag;
|
||||
in
|
||||
{
|
||||
home-manager.users.lucy = {
|
||||
home.packages = with pkgs; [
|
||||
nixd
|
||||
nixfmt
|
||||
clang
|
||||
kdePackages.qtdeclarative
|
||||
];
|
||||
home.stateVersion = "26.05";
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
theme = {
|
||||
name = "adw-gtk3-dark";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = config.theming.font;
|
||||
package = config.theming.fontPackage;
|
||||
size = 12;
|
||||
};
|
||||
cursorTheme.name = "macOS";
|
||||
cursorTheme.size = 24;
|
||||
gtk3.extraCss = ''
|
||||
@define-color theme_bg_color ${c.base00};
|
||||
@define-color theme_fg_color ${c.base05};
|
||||
@define-color theme_base_color ${c.base00};
|
||||
@define-color theme_text_color ${c.base05};
|
||||
@define-color theme_selected_bg_color ${c.base0D};
|
||||
@define-color theme_selected_fg_color ${c.base00};
|
||||
@define-color insensitive_bg_color ${c.base01};
|
||||
@define-color insensitive_fg_color ${c.base03};
|
||||
@define-color borders ${c.base02};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
gtk4.extraCss = ''
|
||||
@define-color window_bg_color ${c.base00};
|
||||
@define-color window_fg_color ${c.base05};
|
||||
@define-color view_bg_color ${c.base00};
|
||||
@define-color view_fg_color ${c.base05};
|
||||
@define-color headerbar_bg_color ${c.base01};
|
||||
@define-color headerbar_fg_color ${c.base05};
|
||||
@define-color headerbar_border_color ${c.base02};
|
||||
@define-color sidebar_bg_color ${c.base01};
|
||||
@define-color sidebar_fg_color ${c.base05};
|
||||
@define-color card_bg_color ${c.base01};
|
||||
@define-color card_fg_color ${c.base05};
|
||||
@define-color popover_bg_color ${c.base01};
|
||||
@define-color popover_fg_color ${c.base05};
|
||||
@define-color dialog_bg_color ${c.base01};
|
||||
@define-color dialog_fg_color ${c.base05};
|
||||
@define-color accent_bg_color ${c.base0D};
|
||||
@define-color accent_fg_color ${c.base00};
|
||||
@define-color accent_color ${c.base0D};
|
||||
@define-color destructive_bg_color ${c.base08};
|
||||
@define-color destructive_color ${c.base08};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
};
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
home.packages = with pkgs; [
|
||||
nixd
|
||||
nixfmt
|
||||
clang
|
||||
kdePackages.qtdeclarative
|
||||
];
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
theme = {
|
||||
name = "adw-gtk3-dark";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = config.theming.font;
|
||||
package = config.theming.fontPackage;
|
||||
size = 12;
|
||||
};
|
||||
cursorTheme.name = "macOS";
|
||||
cursorTheme.size = 24;
|
||||
gtk3.extraCss = ''
|
||||
@define-color theme_bg_color ${c.base00};
|
||||
@define-color theme_fg_color ${c.base05};
|
||||
@define-color theme_base_color ${c.base00};
|
||||
@define-color theme_text_color ${c.base05};
|
||||
@define-color theme_selected_bg_color ${c.base0D};
|
||||
@define-color theme_selected_fg_color ${c.base00};
|
||||
@define-color insensitive_bg_color ${c.base01};
|
||||
@define-color insensitive_fg_color ${c.base03};
|
||||
@define-color borders ${c.base02};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
gtk4.extraCss = ''
|
||||
@define-color window_bg_color ${c.base00};
|
||||
@define-color window_fg_color ${c.base05};
|
||||
@define-color view_bg_color ${c.base00};
|
||||
@define-color view_fg_color ${c.base05};
|
||||
@define-color headerbar_bg_color ${c.base01};
|
||||
@define-color headerbar_fg_color ${c.base05};
|
||||
@define-color headerbar_border_color ${c.base02};
|
||||
@define-color sidebar_bg_color ${c.base01};
|
||||
@define-color sidebar_fg_color ${c.base05};
|
||||
@define-color card_bg_color ${c.base01};
|
||||
@define-color card_fg_color ${c.base05};
|
||||
@define-color popover_bg_color ${c.base01};
|
||||
@define-color popover_fg_color ${c.base05};
|
||||
@define-color dialog_bg_color ${c.base01};
|
||||
@define-color dialog_fg_color ${c.base05};
|
||||
@define-color accent_bg_color ${c.base0D};
|
||||
@define-color accent_fg_color ${c.base00};
|
||||
@define-color accent_color ${c.base0D};
|
||||
@define-color destructive_bg_color ${c.base08};
|
||||
@define-color destructive_color ${c.base08};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
};
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
home-manager.users.lucy.programs.emacs = {
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
extraPackages =
|
||||
epkgs: with epkgs.melpaPackages; [
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ let
|
|||
c = config.scheme;
|
||||
in
|
||||
{
|
||||
home-manager.users.lucy.programs.foot = {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
|
|
|
|||
|
|
@ -3,22 +3,22 @@ let
|
|||
c = config.scheme.withHashtag;
|
||||
in
|
||||
{
|
||||
home-manager.users.lucy = {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
font = "${config.theming.font}:size=12";
|
||||
};
|
||||
border.width = 2;
|
||||
colors = {
|
||||
background = "${c.base00}ff";
|
||||
text = "${c.base05}ff";
|
||||
match = "${c.base0D}ff";
|
||||
selection = "${c.base0D}ff";
|
||||
border = "${c.base0D}ff";
|
||||
};
|
||||
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
font = "${config.theming.font}:size=12";
|
||||
};
|
||||
border.width = 2;
|
||||
colors = {
|
||||
background = "${c.base00}ff";
|
||||
text = "${c.base05}ff";
|
||||
match = "${c.base0D}ff";
|
||||
selection = "${c.base0D}ff";
|
||||
border = "${c.base0D}ff";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home-manager.users.lucy.wayland.windowManager.niri = {
|
||||
wayland.windowManager.niri = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
prefer-no-csd
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ inputs, ... }: {
|
||||
{ inputs, config, lib, ... }: {
|
||||
imports = [ inputs.nixcord.homeModules.nixcord ];
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
discord.vencord.enable = true;
|
||||
quickCss = (config.scheme inputs.tt-discord);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,33 +4,31 @@ let
|
|||
in
|
||||
{
|
||||
|
||||
home-manager.users.lucy = {
|
||||
programs.quickshell.enable = true;
|
||||
programs.quickshell.systemd.enable = true;
|
||||
xdg.configFile."quickshell/Colors.js" = {
|
||||
enable = true;
|
||||
text = ''
|
||||
const colors = {
|
||||
base00: "${c.base00}",
|
||||
base01: "${c.base01}",
|
||||
base02: "${c.base02}",
|
||||
base03: "${c.base03}",
|
||||
base04: "${c.base04}",
|
||||
base05: "${c.base05}",
|
||||
base06: "${c.base06}",
|
||||
base07: "${c.base07}",
|
||||
base08: "${c.base08}",
|
||||
base09: "${c.base09}",
|
||||
base0A: "${c.base0A}",
|
||||
base0B: "${c.base0B}",
|
||||
base0C: "${c.base0C}",
|
||||
base0D: "${c.base0D}",
|
||||
base0E: "${c.base0E}",
|
||||
base0F: "${c.base0F}",
|
||||
}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
programs.quickshell.enable = true;
|
||||
programs.quickshell.systemd.enable = true;
|
||||
xdg.configFile."quickshell/Colors.js" = {
|
||||
enable = true;
|
||||
text = ''
|
||||
const colors = {
|
||||
base00: "${c.base00}",
|
||||
base01: "${c.base01}",
|
||||
base02: "${c.base02}",
|
||||
base03: "${c.base03}",
|
||||
base04: "${c.base04}",
|
||||
base05: "${c.base05}",
|
||||
base06: "${c.base06}",
|
||||
base07: "${c.base07}",
|
||||
base08: "${c.base08}",
|
||||
base09: "${c.base09}",
|
||||
base0A: "${c.base0A}",
|
||||
base0B: "${c.base0B}",
|
||||
base0C: "${c.base0C}",
|
||||
base0D: "${c.base0D}",
|
||||
base0E: "${c.base0E}",
|
||||
base0F: "${c.base0F}",
|
||||
}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
12
modules/themeing/default.nix
Normal file
12
modules/themeing/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, inputs, ...}: {
|
||||
options.theming.theme = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
apply = name: "${inputs.tt-schemes}/base16/${name}.yaml";
|
||||
};
|
||||
options.theming.font = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
};
|
||||
options.theming.fontPackage = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue