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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue