feat: replace alacritty with foot

This commit is contained in:
Nydragon 2024-07-26 01:02:52 +02:00
parent 81da761988
commit 874b149328
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
8 changed files with 36 additions and 5 deletions

View file

@ -5,5 +5,6 @@
./hypridle ./hypridle
./hyprland ./hyprland
./vscode ./vscode
./foot.nix
]; ];
} }

21
home/foot.nix Normal file
View file

@ -0,0 +1,21 @@
{
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "NotoSansM Nerd Font Mono:size=13";
dpi-aware = "yes";
};
mouse = {
hide-when-typing = "yes";
};
colors = {
alpha = 0.8;
};
};
};
}

View file

@ -24,9 +24,10 @@
diff = { diff = {
colorMoved = "default"; colorMoved = "default";
}; };
user = { };
signingKey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH0cON0May+E0KkDrmiHRo5O4uAAVw6dvqYKGsALybUJ"; signing = {
}; signByDefault = true;
key = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH0cON0May+E0KkDrmiHRo5O4uAAVw6dvqYKGsALybUJ";
}; };
delta.enable = true; delta.enable = true;
}; };

View file

@ -133,7 +133,7 @@ lib.mkIf osConfig.programs.hyprland.enable {
[ [
"$mod, D, exec, rofi -config ${config.home.homeDirectory}/.config/rofi/config.rasi -show combi -automatic-save-to-history" "$mod, D, exec, rofi -config ${config.home.homeDirectory}/.config/rofi/config.rasi -show combi -automatic-save-to-history"
"$mod, E, exec, ${pkgs.nautilus}/bin/nautilus" "$mod, E, exec, ${pkgs.nautilus}/bin/nautilus"
"$mod, Return, exec, ${pkgs.alacritty}/bin/alacritty" "$mod, Return, exec, ${pkgs.foot}/bin/foot"
#"$mod, S, exec, rofi -show clipboard -show-icons" #"$mod, S, exec, rofi -show clipboard -show-icons"
"$mod SHIFT, Q, killactive," "$mod SHIFT, Q, killactive,"
"$mod SHIFT, P, exec, rofi -show p -modi p:${pkgs.rofi-power-menu}/bin/rofi-power-menu" "$mod SHIFT, P, exec, rofi -show p -modi p:${pkgs.rofi-power-menu}/bin/rofi-power-menu"

View file

@ -13,5 +13,9 @@ lib.mkIf config.programs.vscode.enable {
#ms-vscode.atom-keybindings #ms-vscode.atom-keybindings
#akamud.vscode-theme-onedark #akamud.vscode-theme-onedark
]; ];
userSettings = {
"update.mode" = "none";
"idf.espIdfPath" = "/home/nico/esp/v5.2.2/esp-idf";
};
}; };
} }

View file

@ -1,3 +1,4 @@
# vim:fileencoding=utf-8:foldmethod=marker
{ {
pkgs, pkgs,
inputs, inputs,
@ -53,6 +54,7 @@
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
programs = { programs = {
steam.enable = true; steam.enable = true;
fish.enable = true; fish.enable = true;
@ -87,6 +89,7 @@
}; };
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
fish fish
wireguard-tools wireguard-tools

View file

@ -14,7 +14,7 @@
(final: prev: { (final: prev: {
lollypop = prev.lollypop.override { lollypop = prev.lollypop.override {
lastFMSupport = false; #lastFMSupport = false;
youtubeSupport = false; youtubeSupport = false;
}; };
}) })

View file

@ -35,6 +35,7 @@ lib.mkIf config.programs.firefox.enable {
"extensions.getAddons.showPane" = false; "extensions.getAddons.showPane" = false;
"browser.shell.checkDefaultBrowser" = false; "browser.shell.checkDefaultBrowser" = false;
"privacy.clearOnShutdown.offlineApps" = true; "privacy.clearOnShutdown.offlineApps" = true;
"layout.spellcheckDefault" = true;
}; };
policies = { policies = {
PasswordManagerEnabled = false; PasswordManagerEnabled = false;