Change to Firefox, generalize terminal apps, update Forgejo, simplify other files

This commit is contained in:
Jimbo 2025-02-22 02:21:44 -05:00
parent 63fc72eeb0
commit eda4cd528f
20 changed files with 81 additions and 94 deletions

View file

@ -1,9 +1,10 @@
{ ... }:
{
imports = [
./firefox
./foot
./imv
./librewolf
./looking-glass
./mangohud
./mpv
./obs

View file

@ -3,7 +3,6 @@
config = lib.mkIf config.home.desktop.enable {
programs.firefox = {
enable = true;
package = pkgs.librewolf;
profiles = let
# FireFox css, based on https://github.com/Dook97/firefox-qutebrowser-userchrome
themeFont = ''
@ -263,25 +262,6 @@
${builtins.readFile ./quteFox.css}
'';
};
Misc = {
id = 2;
extensions = commonExtensions;
search = commonSearch;
bookmarks = commonBookmarks;
settings = commonSettings;
};
};
};
# Fixes
home.file = {
# Symlinks to Librewolf
".librewolf".source = config.lib.file.mkOutOfStoreSymlink "/home/${config.home.username}/.mozilla/firefox";
# Gnome theme
".mozilla/firefox/Misc/chrome".source = fetchTarball {
url = "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/refs/tags/v132.zip";
sha256 = "095sv1ann2v7q5bfy65i118ylhp2vkpbgyf6fz84nd9yrx14rzwm";
};
};
};

View file

@ -0,0 +1,16 @@
{ config, ... }:
{
programs.looking-glass-client = {
enable = config.home.desktop.enable;
settings = {
input = {
rawMouse = true;
escapeKey = 62;
};
spice = {
enable = true;
audio = true;
};
};
};
}

View file

@ -2,12 +2,12 @@
{
imports = [
./btop
./eza
./fastfetch
./git
./ncmpcpp
./neovim
./nh
./notfound
./ranger
./spotdl
./tmux

View file

@ -0,0 +1,10 @@
{ ... }:
{
programs.eza = {
enable = true;
git = true;
icons = "auto";
colors = "always";
extraOptions = [ "--group-directories-first" ];
};
}

View file

@ -1,4 +0,0 @@
{ ... }:
{
programs.command-not-found.enable = true;
}

View file

@ -35,8 +35,8 @@
command = ''mpv --shuffle --no-audio-display -- "$@"'';
}
{
condition = ''ext x?html?|pdf, has librewolf, X, flag f'';
command = ''librewolf -- "$@"'';
condition = ''ext x?html?|pdf, has firefox, X, flag f'';
command = ''firefox -- "$@"'';
}
{
condition = ''ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f'';

View file

@ -7,7 +7,10 @@
oh-my-zsh = {
enable = true;
theme = "agnoster";
plugins = [ "git" ];
plugins = [
"git"
"history"
];
};
initExtra = ''
pfetch