Compare commits
No commits in common. "bb7550d33871856565053647dfff402b310feb1c" and "2c835556b2647f56ff405de8ccb6b6dbd739dd70" have entirely different histories.
bb7550d338
...
2c835556b2
|
@ -1,14 +1,8 @@
|
||||||
{ lib, ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./Fprint.nix
|
./Fprint.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Keyd Print to Macro remap.
|
# Keyd Print to Macro remap.
|
||||||
services.keyd.keyboards.default.settings.main.print = "layer(layer_macro)";
|
services.keyd.keyboards.default.settings.main.print = "layer(layer_macro)";
|
||||||
|
|
||||||
# Reduce font size.
|
|
||||||
stylix.fonts.sizes = {
|
|
||||||
applications = lib.mkForce 10;
|
|
||||||
terminal = lib.mkForce 8;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,19 +16,15 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment = {
|
environment.systemPackages = with pkgs; [
|
||||||
systemPackages = with pkgs; [
|
|
||||||
grim slurp # Screenshot.
|
grim slurp # Screenshot.
|
||||||
mako # Notification system.
|
mako # Notification system.
|
||||||
networkmanagerapplet # Internet configuration.
|
networkmanagerapplet # Internet configuration.
|
||||||
pamixer pavucontrol pulseaudio # Audio.
|
pamixer pavucontrol pulseaudio # Audio.
|
||||||
playerctl # Multimedia controls.
|
playerctl # Multimedia controls.
|
||||||
script # My custom Sway shell scripts.
|
script
|
||||||
];
|
];
|
||||||
|
|
||||||
variables.XDG_CURRENT_DESKTOP = "sway";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wrapperFeatures = {
|
wrapperFeatures = {
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
gnumake gnused # GNU utils.
|
gnumake gnused # GNU utils.
|
||||||
gparted parted # GUI/CLI disk partition tool.
|
gparted parted # GUI/CLI disk partition tool.
|
||||||
imagemagick # Image converter and transformation tool.
|
imagemagick # Image converter and transformation tool.
|
||||||
|
jdk # Java.
|
||||||
jq # Json parser.
|
jq # Json parser.
|
||||||
lm_sensors # Hardware sensors, like temperature and fan speeds.
|
lm_sensors # Hardware sensors, like temperature and fan speeds.
|
||||||
lshw # Detailed hardware info tool.
|
lshw # Detailed hardware info tool.
|
||||||
|
@ -39,5 +40,4 @@
|
||||||
# Special packages.
|
# Special packages.
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
programs.java.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{ key, style, ... }: let
|
{ key, style, ... }: let
|
||||||
mod = key.tmux.mod;
|
mod = key.tmux.mod;
|
||||||
|
|
||||||
fg = style.color.bg.dark;
|
accent = style.color.accent;
|
||||||
selection = style.color.selection;
|
bg = style.color.bg.dark;
|
||||||
|
fg = style.color.fg.light;
|
||||||
in {
|
in {
|
||||||
text = ''
|
text = ''
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
@ -11,6 +12,6 @@ in {
|
||||||
bind -T copy-mode-vi ${key.tmux.copy.select} send -X begin-selection
|
bind -T copy-mode-vi ${key.tmux.copy.select} send -X begin-selection
|
||||||
bind -T copy-mode-vi ${key.tmux.copy.copy} send-keys -X copy-pipe-and-cancel "pbcopy"
|
bind -T copy-mode-vi ${key.tmux.copy.copy} send-keys -X copy-pipe-and-cancel "pbcopy"
|
||||||
|
|
||||||
set -g mode-style "fg=#${fg} bg=#${selection} bold"
|
set -g mode-style "fg=#${bg} bg=#${accent} bold"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,9 +62,6 @@ in {
|
||||||
|
|
||||||
# Proton.
|
# Proton.
|
||||||
WINEFSYNC = "1";
|
WINEFSYNC = "1";
|
||||||
|
|
||||||
# GTK apps compat.
|
|
||||||
GTK_CSD = 0;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,5 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment = {
|
environment.systemPackages = with pkgs; [
|
||||||
systemPackages = with pkgs; [
|
wl-clipboard
|
||||||
wl-clipboard # CLI clipboard support.
|
|
||||||
];
|
];
|
||||||
|
|
||||||
variables = {
|
|
||||||
# Compatibility variables.
|
|
||||||
ECORE_EVAS_ENGINE = "wayland_egl";
|
|
||||||
ELM_ENGINE = "wayland_egl";
|
|
||||||
GDK_BACKEND = "wayland";
|
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
|
||||||
QT_QPA_PLATFORM = "wayland-egl";
|
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
||||||
SAL_USE_VCLPLUGIN = "gtk3";
|
|
||||||
SDL_VIDEODRIVER = "wayland";
|
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ util, style, ... }: {
|
{ util, ... }: {
|
||||||
text = util.trimTabs ''
|
text = util.trimTabs ''
|
||||||
// Bookmarks.
|
// Bookmarks.
|
||||||
lockPref("browser.microsummary.enabled", true);
|
lockPref("browser.microsummary.enabled", true);
|
||||||
|
@ -7,18 +7,18 @@
|
||||||
|
|
||||||
// Fonts.
|
// Fonts.
|
||||||
pref("browser.display.use_document_fonts", 0);
|
pref("browser.display.use_document_fonts", 0);
|
||||||
lockPref("font.minimum-size.x-cyrillic", ${toString(style.font.size.application)});
|
lockPref("font.minimum-size.x-cyrillic", 12);
|
||||||
lockPref("font.minimum-size.x-unicode", ${toString(style.font.size.application)});
|
lockPref("font.minimum-size.x-unicode", 12);
|
||||||
lockPref("font.minimum-size.x-western", ${toString(style.font.size.application)});
|
lockPref("font.minimum-size.x-western", 12);
|
||||||
lockPref("font.name.monospace.x-cyrillic", "${style.font.monospace.name}");
|
lockPref("font.name.monospace.x-cyrillic", "Terminess Nerd Font Mono");
|
||||||
lockPref("font.name.monospace.x-unicode", "${style.font.monospace.name}");
|
lockPref("font.name.monospace.x-unicode", "Terminess Nerd Font Mono");
|
||||||
lockPref("font.name.monospace.x-western", "${style.font.monospace.name}");
|
lockPref("font.name.monospace.x-western", "Terminess Nerd Font Mono");
|
||||||
lockPref("font.name.sans-serif.x-cyrillic", "${style.font.sansSerif.name}");
|
lockPref("font.name.sans-serif.x-cyrillic", "SF Pro Text");
|
||||||
lockPref("font.name.sans-serif.x-unicode", "${style.font.sansSerif.name}");
|
lockPref("font.name.sans-serif.x-unicode", "SF Pro Text");
|
||||||
lockPref("font.name.sans-serif.x-western", "${style.font.sansSerif.name}");
|
lockPref("font.name.sans-serif.x-western", "SF Pro Text");
|
||||||
lockPref("font.name.serif.x-cyrillic", "${style.font.serif.name}");
|
lockPref("font.name.serif.x-cyrillic", "SF Pro Text");
|
||||||
lockPref("font.name.serif.x-unicode", "${style.font.serif.name}");
|
lockPref("font.name.serif.x-unicode", "SF Pro Text");
|
||||||
lockPref("font.name.serif.x-western", "${style.font.serif.name}");
|
lockPref("font.name.serif.x-western", "SF Pro Text");
|
||||||
|
|
||||||
// Animations.
|
// Animations.
|
||||||
lockPref("browser.fullscreen.animateUp", 0);
|
lockPref("browser.fullscreen.animateUp", 0);
|
||||||
|
@ -35,8 +35,5 @@
|
||||||
|
|
||||||
// Formats.
|
// Formats.
|
||||||
lockPref("image.jxl.enabled", true);
|
lockPref("image.jxl.enabled", true);
|
||||||
|
|
||||||
// User agent.
|
|
||||||
// pref("general.useragent.override", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36");
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
mkBookmark = name: url: { inherit name url; };
|
mkBookmark = name: url: { inherit name url; };
|
||||||
in {
|
in {
|
||||||
# Disable profile switching on rebuild.
|
# Disable profile switching on rebuild.
|
||||||
environment.variables.MOZ_LEGACY_PROFILES = "1";
|
environment.variables = {
|
||||||
|
MOZ_LEGACY_PROFILES = "1";
|
||||||
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
|
};
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -43,7 +46,6 @@ in {
|
||||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||||
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
|
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
|
||||||
"{e7625f06-e252-479d-ac7a-db68aeaff2cb}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/togglefonts/latest.xpi";
|
"{e7625f06-e252-479d-ac7a-db68aeaff2cb}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/togglefonts/latest.xpi";
|
||||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/user-agent-string-switcher/latest.xpi";
|
|
||||||
# NOTE: This extension is helpful to find the required parameters for this config.
|
# NOTE: This extension is helpful to find the required parameters for this config.
|
||||||
# Or find them yourself inside the `about:support`.
|
# Or find them yourself inside the `about:support`.
|
||||||
# "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
# "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ setting, ... }: {
|
{ ... }: {
|
||||||
text = ''
|
text = ''
|
||||||
[jetbrains-idea-ce]
|
[jetbrains-idea-ce]
|
||||||
alt.a = C-A-5
|
alt.a = C-A-5
|
||||||
|
@ -14,7 +14,5 @@
|
||||||
alt.v = C-q
|
alt.v = C-q
|
||||||
alt.x = C-f4
|
alt.x = C-f4
|
||||||
alt.z = C-f2
|
alt.z = C-f2
|
||||||
alt./ = macro(C-/ up)
|
|
||||||
alt.tab = timeout(f8, ${toString(setting.keyd.timeout.ms)}, macro2(0, 0, f7))
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue