Dconf : Disable old config.

This commit is contained in:
Dmitry Voronin 2024-04-03 02:05:36 +03:00
parent aa789f0de1
commit 953bd3e337
11 changed files with 348 additions and 312 deletions

View file

@ -4,6 +4,12 @@
autoEnable = true; autoEnable = true;
polarity = "dark"; polarity = "dark";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
opacity = {
applications = 0.85;
terminal = 0.85;
popups = 0.85;
desktop = 0.85;
};
fonts = { fonts = {
sizes = { sizes = {
applications = 12; applications = 12;
@ -11,24 +17,24 @@
popups = 12; popups = 12;
desktop = 12; desktop = 12;
}; };
# serif = { serif = {
# package = (pkgs.callPackage ./applefont {}); package = (pkgs.callPackage ./applefont {});
# name = "SF Pro Display Medium"; name = "SF Pro Display";
# }; };
# sansSerif = config.stylix.fonts.serif; sansSerif = config.stylix.fonts.serif;
monospace = { monospace = {
package = (pkgs.nerdfonts.override { fonts = [ "Terminus" ]; }); package = (pkgs.nerdfonts.override { fonts = [ "Terminus" ]; });
name = "Terminess Mono"; name = "Terminess Nerd Font Mono";
}; };
emoji = { emoji = {
package = pkgs.noto-fonts-emoji; package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji"; name = "Noto Color Emoji";
}; };
}; };
targets = { # targets = {
foot = { # foot = {
enable = true; # enable = true;
}; # };
}; # };
}; };
} }

View file

@ -7,7 +7,9 @@ vim.cmd([[
vim.o.background = "dark" vim.o.background = "dark"
vim.g.gruvbox_material_background = "hard" vim.g.gruvbox_material_background = "hard"
vim.g.gruvbox_material_foreground = "original" vim.g.gruvbox_material_foreground = "original"
vim.g.gruvbox_material_transparent_background = 2
-- vim.g.gruvbox_material_better_performance = 1 -- NOTE: Broken on NixOS. -- vim.g.gruvbox_material_better_performance = 1 -- NOTE: Broken on NixOS.
-- vim.cmd("autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE")
vim.cmd("colorscheme gruvbox-material") vim.cmd("colorscheme gruvbox-material")
vim.cmd("let g:lightline = {'colorscheme' : 'gruvbox_material'}") vim.cmd("let g:lightline = {'colorscheme' : 'gruvbox_material'}")

View file

@ -4,324 +4,324 @@
enableUserDb = true; # Delete `~/.config/dconf/user` to reset user settings. enableUserDb = true; # Delete `~/.config/dconf/user` to reset user settings.
databases = [{ databases = [{
settings = with lib.gvariant; { settings = with lib.gvariant; {
"org/gnome/desktop/a11y" = { # "org/gnome/desktop/a11y" = {
always-show-universal-access-status = true; # always-show-universal-access-status = true;
}; # };
"org/gnome/desktop/background" = { # "org/gnome/desktop/background" = {
color-shading-type = "solid"; # color-shading-type = "solid";
picture-options = "none"; # picture-options = "none";
primary-color = "#000000000000"; # primary-color = "#000000000000";
secondary-color = "#000000000000"; # secondary-color = "#000000000000";
}; # };
"org/gnome/desktop/input-sources" = { # "org/gnome/desktop/input-sources" = {
current = mkUint32 0; # current = mkUint32 0;
mru-sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "xkb" "ru" ]) ]; # mru-sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "xkb" "ru" ]) ];
per-window = false; # per-window = false;
show-all-sources = true; # show-all-sources = true;
sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "xkb" "ru" ]) ]; # sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "xkb" "ru" ]) ];
xkb-options = [ "grp:caps_toggle" "lv3:ralt_switch" ]; # xkb-options = [ "grp:caps_toggle" "lv3:ralt_switch" ];
}; # };
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
clock-show-date = true; # clock-show-date = true;
clock-show-weekday = true; # clock-show-weekday = true;
color-scheme = "prefer-dark"; # color-scheme = "prefer-dark";
cursor-blink = false; # cursor-blink = false;
cursor-size = "24"; # cursor-size = "24";
cursor-theme = "Adwaita"; # cursor-theme = "Adwaita";
document-font-name = "SF Pro Text 11"; # document-font-name = "SF Pro Text 11";
enable-animations = false; enable-animations = false;
enable-hot-corners = false; # enable-hot-corners = false;
font-antialiasing = "rgba"; # font-antialiasing = "rgba";
font-hinting = "full"; # font-hinting = "full";
font-name = "SF Pro Display 10"; # font-name = "SF Pro Display 10";
gtk-enable-primary-paste = false; # gtk-enable-primary-paste = false;
gtk-theme = "Adwaita"; # gtk-theme = "Adwaita";
icon-theme = "Adwaita"; # icon-theme = "Adwaita";
monospace-font-name = "Terminess Nerd Font Mono Medium 12"; # monospace-font-name = "Terminess Nerd Font Mono Medium 12";
show-battery-percentage = false; # show-battery-percentage = false;
toolbar-style = "text"; # toolbar-style = "text";
toolkit-accessibility = false; # toolkit-accessibility = false;
}; };
"org/gnome/desktop/media-handling" = { # "org/gnome/desktop/media-handling" = {
automount = false; # automount = false;
automount-open = false; # automount-open = false;
autorun-never = true; # autorun-never = true;
}; # };
"org/gnome/desktop/peripherals/mouse" = { # "org/gnome/desktop/peripherals/mouse" = {
accel-profile = "flat"; # accel-profile = "flat";
natural-scroll = true; # natural-scroll = true;
speed = "0.0"; # speed = "0.0";
}; # };
"org/gnome/desktop/peripherals/touchpad" = { # "org/gnome/desktop/peripherals/touchpad" = {
tap-to-click = true; # tap-to-click = true;
two-finger-scrolling-enabled = true; # two-finger-scrolling-enabled = true;
}; # };
"org/gnome/desktop/privacy" = { # "org/gnome/desktop/privacy" = {
disable-camera = false; # disable-camera = false;
disable-microphone = false; # disable-microphone = false;
old-files-age = mkUint32 30; # old-files-age = mkUint32 30;
recent-files-max-age = mkUint32 30; # recent-files-max-age = mkUint32 30;
remove-old-temp-files = true; # remove-old-temp-files = true;
remove-old-trash-files = true; # remove-old-trash-files = true;
report-technical-problems = true; # report-technical-problems = true;
}; # };
"org/gnome/desktop/remote-desktop/rdp" = { # "org/gnome/desktop/remote-desktop/rdp" = {
enable = false; # enable = false;
tls-cert = "/home/voronind/.local/share/gnome-remote-desktop/tls.crt"; # tls-cert = "/home/voronind/.local/share/gnome-remote-desktop/tls.crt";
tls-key = "/home/voronind/.local/share/gnome-remote-desktop/tls.key"; # tls-key = "/home/voronind/.local/share/gnome-remote-desktop/tls.key";
view-only = true; # view-only = true;
}; # };
"org/gnome/desktop/screensaver" = { # "org/gnome/desktop/screensaver" = {
color-shading-type = "solid"; # color-shading-type = "solid";
idle-activation-enabled = false; # idle-activation-enabled = false;
lock-delay = mkUint32 0; # lock-delay = mkUint32 0;
picture-options = "zoom"; # picture-options = "zoom";
picture-uri = "file:///etc/wallpaper/Forest.jpg"; # picture-uri = "file:///etc/wallpaper/Forest.jpg";
primary-color = "#000000000000"; # primary-color = "#000000000000";
secondary-color = "#000000000000"; # secondary-color = "#000000000000";
}; # };
"org/gnome/desktop/sound" = { # "org/gnome/desktop/sound" = {
allow-volume-above-100-percent = false; # allow-volume-above-100-percent = false;
event-sounds = false; # event-sounds = false;
theme-name = "freedesktop"; # theme-name = "freedesktop";
}; # };
"org/gnome/desktop/wm/keybindings" = { # "org/gnome/desktop/wm/keybindings" = {
activate-window-menu = [ "" ]; # activate-window-menu = [ "" ];
begin-move = [ "" ]; # begin-move = [ "" ];
begin-resize = [ "<Super>r" ]; # begin-resize = [ "<Super>r" ];
close = [ "<Super>x" ]; # close = [ "<Super>x" ];
cycle-group = [ "" ]; # cycle-group = [ "" ];
cycle-group-backward = [ "" ]; # cycle-group-backward = [ "" ];
cycle-panels = [ "" ]; # cycle-panels = [ "" ];
cycle-panels-backward = [ "" ]; # cycle-panels-backward = [ "" ];
cycle-windows = [ "" ]; # cycle-windows = [ "" ];
cycle-windows-backward = [ "" ]; # cycle-windows-backward = [ "" ];
maximize = [ "" ]; # maximize = [ "" ];
maximize-horizontally = [ "" ]; # maximize-horizontally = [ "" ];
minimize = [ "<Super>s" ]; # minimize = [ "<Super>s" ];
move-to-monitor-down = [ "" ]; # move-to-monitor-down = [ "" ];
move-to-monitor-left = [ "" ]; # move-to-monitor-left = [ "" ];
move-to-monitor-right = [ "" ]; # move-to-monitor-right = [ "" ];
move-to-monitor-up = [ "" ]; # move-to-monitor-up = [ "" ];
move-to-workspace-1 = [ "" ]; # move-to-workspace-1 = [ "" ];
move-to-workspace-2 = [ "" ]; # move-to-workspace-2 = [ "" ];
move-to-workspace-3 = [ "" ]; # move-to-workspace-3 = [ "" ];
move-to-workspace-4 = [ "" ]; # move-to-workspace-4 = [ "" ];
move-to-workspace-last = [ "" ]; # move-to-workspace-last = [ "" ];
move-to-workspace-left = [ "<Shift><Super>q" ]; # move-to-workspace-left = [ "<Shift><Super>q" ];
move-to-workspace-right = [ "<Shift><Super>e" ]; # move-to-workspace-right = [ "<Shift><Super>e" ];
panel-run-dialog = [ "<Super>space" ]; # panel-run-dialog = [ "<Super>space" ];
show-desktop = [ "<Super>c" ]; # show-desktop = [ "<Super>c" ];
switch-applications = [ "<Super>Tab" ]; # switch-applications = [ "<Super>Tab" ];
switch-applications-backward = [ "<Shift><Super>Tab" ]; # switch-applications-backward = [ "<Shift><Super>Tab" ];
switch-group = [ "<Alt>Tab" ]; # switch-group = [ "<Alt>Tab" ];
switch-group-backward = [ "<Shift><Alt>Tab" ]; # switch-group-backward = [ "<Shift><Alt>Tab" ];
switch-input-source = [ "" ]; # switch-input-source = [ "" ];
switch-input-source-backward = [ "" ]; # switch-input-source-backward = [ "" ];
switch-panels = [ "" ]; # switch-panels = [ "" ];
switch-panels-backward = [ "" ]; # switch-panels-backward = [ "" ];
switch-to-workspace-1 = [ "" ]; # switch-to-workspace-1 = [ "" ];
switch-to-workspace-2 = [ "" ]; # switch-to-workspace-2 = [ "" ];
switch-to-workspace-3 = [ "" ]; # switch-to-workspace-3 = [ "" ];
switch-to-workspace-4 = [ "" ]; # switch-to-workspace-4 = [ "" ];
switch-to-workspace-last = [ "" ]; # switch-to-workspace-last = [ "" ];
switch-to-workspace-left = [ "<Super>q" ]; # switch-to-workspace-left = [ "<Super>q" ];
switch-to-workspace-right = [ "<Super>e" ]; # switch-to-workspace-right = [ "<Super>e" ];
switch-windows = [ "" ]; # switch-windows = [ "" ];
switch-windows-backward = [ "" ]; # switch-windows-backward = [ "" ];
toggle-fullscreen = [ "<Super>f" ]; # toggle-fullscreen = [ "<Super>f" ];
toggle-maximized = [ "<Super>w" ]; # toggle-maximized = [ "<Super>w" ];
unmaximize = [ "" ]; # unmaximize = [ "" ];
}; # };
"org/gnome/desktop/wm/preferences" = { # "org/gnome/desktop/wm/preferences" = {
action-middle-click-titlebar = "minimize"; # action-middle-click-titlebar = "minimize";
action-right-click-titlebar = "menu"; # action-right-click-titlebar = "menu";
focus-mode = "click"; # `click` or `sloppy`. # focus-mode = "click"; # `click` or `sloppy`.
button-layout = "appmenu:close"; # button-layout = "appmenu:close";
titlebar-font = "SF Pro Display 11"; # titlebar-font = "SF Pro Display 11";
}; # };
"org/gnome/desktop/session" = { # "org/gnome/desktop/session" = {
idle-delay = mkUint32 0; # idle-delay = mkUint32 0;
}; # };
"org/gnome/mutter" = { # "org/gnome/mutter" = {
attach-modal-dialogs = true; # attach-modal-dialogs = true;
center-new-windows = true; # center-new-windows = true;
dynamic-workspaces = true; # dynamic-workspaces = true;
edge-tiling = true; # edge-tiling = true;
workspaces-only-on-primary = true; # workspaces-only-on-primary = true;
}; # };
"org/gnome/mutter/keybindings" = { # "org/gnome/mutter/keybindings" = {
toggle-tiled-left = [ "<Super>a" ]; # toggle-tiled-left = [ "<Super>a" ];
toggle-tiled-right = [ "<Super>d" ]; # toggle-tiled-right = [ "<Super>d" ];
}; # };
"org/gnome/mutter/wayland/keybindings" = { # "org/gnome/mutter/wayland/keybindings" = {
restore-shortcuts = [ "" ]; # restore-shortcuts = [ "" ];
}; # };
"org/gnome/nautilus/icon-view" = { # "org/gnome/nautilus/icon-view" = {
default-zoom-level = "larger"; # default-zoom-level = "larger";
}; # };
"org/gnome/nautilus/list-view" = { # "org/gnome/nautilus/list-view" = {
default-zoom-level = "small"; # default-zoom-level = "small";
use-tree-view = false; # use-tree-view = false;
}; # };
"org/gnome/nautilus/preferences" = { # "org/gnome/nautilus/preferences" = {
click-policy = "single"; # click-policy = "single";
default-folder-viewer = "list-view"; # default-folder-viewer = "list-view";
default-sort-in-reverse-order = false; # default-sort-in-reverse-order = false;
default-sort-order = "name"; # default-sort-order = "name";
migrated-gtk-settings = true; # migrated-gtk-settings = true;
search-filter-time-type = "last_modified"; # search-filter-time-type = "last_modified";
search-view = "list-view"; # search-view = "list-view";
show-image-thumbnails = "local-only"; # show-image-thumbnails = "local-only";
}; # };
"org/gnome/settings-daemon/plugins/color" = { # "org/gnome/settings-daemon/plugins/color" = {
night-light-enabled = false; # night-light-enabled = false;
night-light-schedule-automatic = false; # night-light-schedule-automatic = false;
night-light-schedule-from = "0.0"; # night-light-schedule-from = "0.0";
night-light-schedule-to = "0.0"; # night-light-schedule-to = "0.0";
night-light-temperature = mkUint32 3700; # night-light-temperature = mkUint32 3700;
}; # };
"org/gnome/settings-daemon/plugins/media-keys" = { # "org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [ # custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/" # "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/"
]; # ];
magnifier = [ "" ]; # magnifier = [ "" ];
magnifier-zoom-in = [ "" ]; # magnifier-zoom-in = [ "" ];
magnifier-zoom-out = [ "" ]; # magnifier-zoom-out = [ "" ];
screenreader = [ "" ]; # screenreader = [ "" ];
screensaver = [ "<Super>z" ]; # screensaver = [ "<Super>z" ];
}; # };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>Escape"; # binding = "<Super>Escape";
command = "kgx -e bash -c 'tmux new-session -A -s main; bash'"; # command = "kgx -e bash -c 'tmux new-session -A -s main; bash'";
name = "gnome-terminal"; # name = "gnome-terminal";
}; # };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Shift><Super>z"; # binding = "<Shift><Super>z";
command = "gnome-session-quit --power-off"; # command = "gnome-session-quit --power-off";
name = "gnome-poweroff"; # name = "gnome-poweroff";
}; # };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = { # "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
binding = "<Primary>Escape"; # binding = "<Primary>Escape";
command = "kgx -- btop"; # command = "kgx -- btop";
name = "System Monitor"; # name = "System Monitor";
}; # };
"org/gnome/settings-daemon/plugins/power" = { # "org/gnome/settings-daemon/plugins/power" = {
ambient-enabled = false; # ambient-enabled = false;
idle-dim = false; # idle-dim = false;
power-button-action = "nothing"; # power-button-action = "nothing";
sleep-inactive-ac-timeout = "0"; # sleep-inactive-ac-timeout = "0";
sleep-inactive-ac-type = "nothing"; # sleep-inactive-ac-type = "nothing";
sleep-inactive-battery-type = "nothing"; # sleep-inactive-battery-type = "nothing";
}; # };
"org/gnome/shell" = { # "org/gnome/shell" = {
disable-extension-version-validation = true; # disable-extension-version-validation = true;
disable-user-extensions = false; # disable-user-extensions = false;
favorite-apps = [ "" ]; # favorite-apps = [ "" ];
had-bluetooth-devices-setup = true; # had-bluetooth-devices-setup = true;
last-selected-power-profile = "power-saver"; # last-selected-power-profile = "power-saver";
remember-mount-password = false; # remember-mount-password = false;
}; # };
"org/gnome/shell/app-switcher" = { # "org/gnome/shell/app-switcher" = {
current-workspace-only = true; # current-workspace-only = true;
}; # };
"org/gnome/shell/keybindings" = { # "org/gnome/shell/keybindings" = {
focus-active-notification = [ "" ]; # focus-active-notification = [ "" ];
open-application-menu = [ "" ]; # open-application-menu = [ "" ];
show-screenshot-ui = [ "<Super>v" ]; # show-screenshot-ui = [ "<Super>v" ];
switch-to-application-1 = [ "" ]; # switch-to-application-1 = [ "" ];
switch-to-application-2 = [ "" ]; # switch-to-application-2 = [ "" ];
switch-to-application-3 = [ "" ]; # switch-to-application-3 = [ "" ];
switch-to-application-4 = [ "" ]; # switch-to-application-4 = [ "" ];
switch-to-application-5 = [ "" ]; # switch-to-application-5 = [ "" ];
switch-to-application-6 = [ "" ]; # switch-to-application-6 = [ "" ];
switch-to-application-7 = [ "" ]; # switch-to-application-7 = [ "" ];
switch-to-application-8 = [ "" ]; # switch-to-application-8 = [ "" ];
switch-to-application-9 = [ "" ]; # switch-to-application-9 = [ "" ];
toggle-application-view = [ "" ]; # toggle-application-view = [ "" ];
toggle-message-tray = [ "" ]; # toggle-message-tray = [ "" ];
toggle-overview = [ "" ]; # toggle-overview = [ "" ];
toggle-quick-settings = [ "" ]; # toggle-quick-settings = [ "" ];
}; # };
"org/gnome/shell/overrides" = { # "org/gnome/shell/overrides" = {
edge-tiling = false; # edge-tiling = false;
}; # };
"org/gnome/software" = { # "org/gnome/software" = {
download-updates = false; # download-updates = false;
download-updates-notify = false; # download-updates-notify = false;
first-run = false; # first-run = false;
show-nonfree-prompt = false; # show-nonfree-prompt = false;
}; # };
"org/gnome/system/location" = { # "org/gnome/system/location" = {
enabled = false; # enabled = false;
}; # };
"org/gtk/gtk4/settings/file-chooser" = { # "org/gtk/gtk4/settings/file-chooser" = {
date-format = "regular"; # date-format = "regular";
location-mode = "path-bar"; # location-mode = "path-bar";
show-hidden = false; # show-hidden = false;
show-size-column = true; # show-size-column = true;
show-type-column = true; # show-type-column = true;
sidebar-width = "166"; # sidebar-width = "166";
sort-column = "modified"; # sort-column = "modified";
sort-directories-first = true; # sort-directories-first = true;
sort-order = "descending"; # sort-order = "descending";
type-format = "category"; # type-format = "category";
view-type = "list"; # view-type = "list";
}; # };
"org/gtk/settings/file-chooser" = { # "org/gtk/settings/file-chooser" = {
date-format = "regular"; # date-format = "regular";
location-mode = "path-bar"; # location-mode = "path-bar";
show-hidden = false; # show-hidden = false;
show-size-column = true; # show-size-column = true;
show-type-column = true; # show-type-column = true;
sort-column = "modified"; # sort-column = "modified";
sort-directories-first = true; # sort-directories-first = true;
sort-order = "descending"; # sort-order = "descending";
type-format = "category"; # type-format = "category";
}; # };
"system/locale" = { # "system/locale" = {
region = "ru_RU.UTF-8"; # region = "ru_RU.UTF-8";
}; # };
"system/proxy" = { # "system/proxy" = {
mode = "none"; # mode = "none";
}; # };
}; };
}]; }];
}; };

View file

@ -1,10 +1,12 @@
{ const, color, ... }: { { const, color, config, pkgs, ... }: {
imports = [ imports = [
(import ./Default.nix { (import ./Default.nix {
color = color; color = color;
config = config;
const = const; const = const;
username = "dasha";
homeDir = "/home/dasha"; homeDir = "/home/dasha";
pkgs = pkgs;
username = "dasha";
}) })
]; ];
} }

View file

@ -1,4 +1,7 @@
{ const, username, homeDir, ... }: { { const, username, homeDir, config, pkgs, ... }: let
footConfig = import ./module/foot/Foot.nix { config = config; };
makoConfig = import ./module/mako/Mako.nix { config = config; };
in {
home-manager.backupFileExtension = "old"; home-manager.backupFileExtension = "old";
home-manager.users.${username} = { home-manager.users.${username} = {
@ -10,7 +13,8 @@
home.file = { home.file = {
".config/btop".source = ./module/top/btop; ".config/btop".source = ./module/top/btop;
".config/htop".source = ./module/top/htop; ".config/htop".source = ./module/top/htop;
".config/mako".source = ./module/mako; ".config/mako/config".text = makoConfig.config;
".config/foot/foot.ini".text = footConfig.config;
".editorconfig".source = ./module/Editorconfig; ".editorconfig".source = ./module/Editorconfig;
".parallel/will-cite".text = ""; ".parallel/will-cite".text = "";
"media/template".source = ./module/template; "media/template".source = ./module/template;

View file

@ -1,10 +1,12 @@
{ const, color, ... }: { { const, color, pkgs, config, ... }: {
imports = [ imports = [
(import ./Default.nix { (import ./Default.nix {
color = color; color = color;
config = config;
const = const; const = const;
username = "root";
homeDir = "/root"; homeDir = "/root";
pkgs = pkgs;
username = "root";
}) })
]; ];
} }

View file

@ -1,10 +1,12 @@
{ const, color, ... }: { { const, color, pkgs, config, ... }: {
imports = [ imports = [
(import ./Default.nix { (import ./Default.nix {
color = color; color = color;
config = config;
const = const; const = const;
username = "voronind";
homeDir = "/home/voronind"; homeDir = "/home/voronind";
pkgs = pkgs;
username = "voronind";
}) })
]; ];
} }

View file

@ -0,0 +1,14 @@
{ config, ... }: {
config = ''
font=${config.stylix.fonts.monospace.name}:size=${toString(config.stylix.fonts.sizes.terminal)}
font-italic=${config.stylix.fonts.monospace.name}:size=${toString(config.stylix.fonts.sizes.terminal)}
# font-bold=${config.stylix.fonts.monospace.name}:size=${toString(config.stylix.fonts.sizes.terminal)}
font-bold-italic=${config.stylix.fonts.monospace.name}:size=${toString(config.stylix.fonts.sizes.terminal)}
dpi-aware=yes
[colors]
alpha=${toString(config.stylix.opacity.terminal)}
background=${config.lib.stylix.colors.base00}
foreground=${config.lib.stylix.colors.base05}
'';
}

View file

@ -1 +0,0 @@
dpi-aware=yes

View file

@ -0,0 +1,12 @@
{ config, ... }: {
config = ''anchor=top-center
default-timeout=5000
font=${config.stylix.fonts.serif.name} ${toString(config.stylix.fonts.sizes.popups)}
background-color=#${config.lib.stylix.colors.base01}
border-color=#${config.lib.stylix.colors.base01}
text-color=#${config.lib.stylix.colors.base05}
height=120
icons=0
margin=32
width=480'';
}

View file

@ -1,7 +0,0 @@
anchor=top-center
default-timeout=5000
font="SF Pro Display" Medium 14
height=120
icons=0
margin=32
width=480