Change to Firefox, generalize terminal apps, update Forgejo, simplify other files
This commit is contained in:
parent
63fc72eeb0
commit
eda4cd528f
20 changed files with 81 additions and 94 deletions
|
@ -1,9 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./firefox
|
||||
./foot
|
||||
./imv
|
||||
./librewolf
|
||||
./looking-glass
|
||||
./mangohud
|
||||
./mpv
|
||||
./obs
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
16
modules/home/programs/gui/looking-glass/default.nix
Normal file
16
modules/home/programs/gui/looking-glass/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,12 +2,12 @@
|
|||
{
|
||||
imports = [
|
||||
./btop
|
||||
./eza
|
||||
./fastfetch
|
||||
./git
|
||||
./ncmpcpp
|
||||
./neovim
|
||||
./nh
|
||||
./notfound
|
||||
./ranger
|
||||
./spotdl
|
||||
./tmux
|
||||
|
|
10
modules/home/programs/terminal/eza/default.nix
Normal file
10
modules/home/programs/terminal/eza/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
git = true;
|
||||
icons = "auto";
|
||||
colors = "always";
|
||||
extraOptions = [ "--group-directories-first" ];
|
||||
};
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.command-not-found.enable = true;
|
||||
}
|
|
@ -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'';
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
plugins = [ "git" ];
|
||||
plugins = [
|
||||
"git"
|
||||
"history"
|
||||
];
|
||||
};
|
||||
initExtra = ''
|
||||
pfetch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue