fixes and formatting
This commit is contained in:
parent
a6c96c23ae
commit
80cf48f1e8
71 changed files with 746 additions and 1110 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = [pkgs.adw-gtk3];
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.adw-gtk3 ];
|
||||
users.users.quadradical.maid.gsettings.settings.org.gnome.desktop.interface.gtk-theme = "adw-gtk3";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts = {
|
||||
packages = with pkgs; [inter nerd-fonts.fira-code];
|
||||
packages = with pkgs; [
|
||||
inter
|
||||
nerd-fonts.fira-code
|
||||
];
|
||||
fontconfig.defaultFonts = rec {
|
||||
serif = ["Inter"];
|
||||
serif = [ "Inter" ];
|
||||
sansSerif = serif;
|
||||
monospace = ["FiraCode Nerd Font"];
|
||||
monospace = [ "FiraCode Nerd Font" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@
|
|||
users.users.quadradical.maid.gsettings.settings.org.gnome = {
|
||||
desktop = {
|
||||
wm.preferences.focus-mode = "mouse";
|
||||
search-providers.sort-order = ["org.gnome.Contacts.desktop" "org.gnome.Documents.desktop" "org.gnome.Nautilus.desktop"];
|
||||
search-providers.sort-order = [
|
||||
"org.gnome.Contacts.desktop"
|
||||
"org.gnome.Documents.desktop"
|
||||
"org.gnome.Nautilus.desktop"
|
||||
];
|
||||
|
||||
background = rec {
|
||||
picture-uri = "file://${./background.jpg}";
|
||||
|
|
@ -41,11 +45,15 @@
|
|||
|
||||
shell = {
|
||||
remember-mount-password = true;
|
||||
favorite-apps = ["librewolf.desktop" "org.gnome.Geary.desktop" "org.gnome.Nautilus.desktop"];
|
||||
favorite-apps = [
|
||||
"librewolf.desktop"
|
||||
"org.gnome.Geary.desktop"
|
||||
"org.gnome.Nautilus.desktop"
|
||||
];
|
||||
};
|
||||
|
||||
mutter.edge-tiling = false;
|
||||
system.location.enabled = true;
|
||||
settings-daemon.plugins.media-keys.calculator-static = [];
|
||||
settings-daemon.plugins.media-keys.calculator-static = [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs.gnomeExtensions; [
|
||||
valent
|
||||
|
|
@ -102,8 +103,8 @@
|
|||
allow-zero-brightness = true;
|
||||
button-location = 1;
|
||||
ddcutil-binary-path = lib.meta.getExe pkgs.ddcutil;
|
||||
decrease-brightness-shortcut = ["XF86MonBrightnessDown"];
|
||||
increase-brightness-shortcut = ["XF86MonBrightnessUp"];
|
||||
decrease-brightness-shortcut = [ "XF86MonBrightnessDown" ];
|
||||
increase-brightness-shortcut = [ "XF86MonBrightnessUp" ];
|
||||
hide-system-indicator = true;
|
||||
only-all-slider = true;
|
||||
position-system-menu = 3.0;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{hardware.graphics.enable = true;}
|
||||
{ hardware.graphics.enable = true; }
|
||||
|
|
|
|||
|
|
@ -4,11 +4,13 @@
|
|||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
environment.etc."librewolf/policies/policies.json".source = config.environment.etc."firefox/policies/policies.json".source;
|
||||
}:
|
||||
{
|
||||
environment.etc."librewolf/policies/policies.json".source =
|
||||
config.environment.etc."firefox/policies/policies.json".source;
|
||||
|
||||
users.users.quadradical.maid.file.home = {
|
||||
".librewolf/profiles.ini".source = (pkgs.formats.ini {}).generate "profiles.ini" {
|
||||
".librewolf/profiles.ini".source = (pkgs.formats.ini { }).generate "profiles.ini" {
|
||||
General = {
|
||||
StartWithLastProfile = 1;
|
||||
};
|
||||
|
|
@ -20,31 +22,37 @@
|
|||
};
|
||||
};
|
||||
|
||||
".librewolf/quadradical/chrome".source =
|
||||
toString
|
||||
(pkgs.symlinkJoin {
|
||||
".librewolf/quadradical/chrome".source = toString (
|
||||
pkgs.symlinkJoin {
|
||||
name = "firefox-gnome-theme";
|
||||
paths = [./. inputs.firefox-gnome-theme];
|
||||
});
|
||||
paths = [
|
||||
./.
|
||||
inputs.firefox-gnome-theme
|
||||
];
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.librewolf;
|
||||
|
||||
autoConfig = lib.concatStringsSep "\n" (lib.mapAttrsToList (pref: value: "lockPref(\"${pref}\", ${builtins.toJSON value});") {
|
||||
"webgl.disabled" = false;
|
||||
"browser.tabs.groups.enabled" = false;
|
||||
"media.peerconnection.enabled" = true;
|
||||
"media.webrtc.hw.h264.enabled" = false;
|
||||
"privacy.resistFingerprinting" = false;
|
||||
"privacy.fingerprintingProtection" = true;
|
||||
"browser.discovery.containers.enabled" = false;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme,-JSDateTimeUTC";
|
||||
"browser.uiCustomization.state" = "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"downloads-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":19}";
|
||||
});
|
||||
autoConfig = lib.concatStringsSep "\n" (
|
||||
lib.mapAttrsToList (pref: value: "lockPref(\"${pref}\", ${builtins.toJSON value});") {
|
||||
"webgl.disabled" = false;
|
||||
"browser.tabs.groups.enabled" = false;
|
||||
"media.peerconnection.enabled" = true;
|
||||
"media.webrtc.hw.h264.enabled" = false;
|
||||
"privacy.resistFingerprinting" = false;
|
||||
"privacy.fingerprintingProtection" = true;
|
||||
"browser.discovery.containers.enabled" = false;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme,-JSDateTimeUTC";
|
||||
"browser.uiCustomization.state" =
|
||||
"{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"downloads-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":19}";
|
||||
}
|
||||
);
|
||||
|
||||
policies = {
|
||||
ShowHomeButton = false;
|
||||
|
|
@ -115,29 +123,35 @@
|
|||
Locked = true;
|
||||
};
|
||||
|
||||
ExtensionSettings = lib.mkForce (lib.listToAttrs (map (id: {
|
||||
name = id;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${id}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
}) [
|
||||
"historyblock@kain"
|
||||
"uBlock0@raymondhill.net"
|
||||
"sponsorBlocker@ajay.app"
|
||||
"firefox-addon@pronoundb.org"
|
||||
"jid1-MnnxcxisBPnSXQ@jetpack" # Privacy Badger
|
||||
"frankerfacez@frankerfacez.com"
|
||||
"7esoorv3@alefvanoon.anonaddy.me" # LibRedirect
|
||||
"{de621c74-2aa6-4c91-a2da-28d445b66bab}" # YouTube Livestreams Theater Mode
|
||||
"{cf3dba12-a848-4f68-8e2d-f9fadc0721de}" # Google Lighthouse
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" # Bitwarden
|
||||
"{4ce83447-8255-43c2-b8f7-e02eb8c2cc39}" # Draw on Page
|
||||
"{ac34afe8-3a2e-4201-b745-346c0cf6ec7d}" # Better Youtube Shorts
|
||||
"{2327d818-55d3-441d-aea2-8b44aa2cb9aa}" # Toggle Website Colors
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" # User-Agent Switcher and Manager
|
||||
"enhancerforyoutube@maximerf.addons.mozilla.org"
|
||||
]));
|
||||
ExtensionSettings = lib.mkForce (
|
||||
lib.listToAttrs (
|
||||
map
|
||||
(id: {
|
||||
name = id;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${id}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
})
|
||||
[
|
||||
"historyblock@kain"
|
||||
"uBlock0@raymondhill.net"
|
||||
"sponsorBlocker@ajay.app"
|
||||
"firefox-addon@pronoundb.org"
|
||||
"jid1-MnnxcxisBPnSXQ@jetpack" # Privacy Badger
|
||||
"frankerfacez@frankerfacez.com"
|
||||
"7esoorv3@alefvanoon.anonaddy.me" # LibRedirect
|
||||
"{de621c74-2aa6-4c91-a2da-28d445b66bab}" # YouTube Livestreams Theater Mode
|
||||
"{cf3dba12-a848-4f68-8e2d-f9fadc0721de}" # Google Lighthouse
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" # Bitwarden
|
||||
"{4ce83447-8255-43c2-b8f7-e02eb8c2cc39}" # Draw on Page
|
||||
"{ac34afe8-3a2e-4201-b745-346c0cf6ec7d}" # Better Youtube Shorts
|
||||
"{2327d818-55d3-441d-aea2-8b44aa2cb9aa}" # Toggle Website Colors
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" # User-Agent Switcher and Manager
|
||||
"enhancerforyoutube@maximerf.addons.mozilla.org"
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
SearchEngines = {
|
||||
Default = "Federated Nexus Search";
|
||||
|
|
@ -191,7 +205,11 @@
|
|||
Alias = "hm";
|
||||
}
|
||||
];
|
||||
Remove = ["Bing" "LibRedirect" "Wikipedia (en)"];
|
||||
Remove = [
|
||||
"Bing"
|
||||
"LibRedirect"
|
||||
"Wikipedia (en)"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{networking.networkmanager.wifi.macAddress = "random";}
|
||||
{ networking.networkmanager.wifi.macAddress = "random"; }
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{environment.sessionVariables.NIXOS_OZONE_WL = "1";}
|
||||
{ environment.sessionVariables.NIXOS_OZONE_WL = "1"; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
services.xserver.excludePackages = [pkgs.xterm];
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.xserver.excludePackages = [ pkgs.xterm ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
tuba
|
||||
gradia
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.ptyxis
|
||||
];
|
||||
|
|
@ -10,7 +11,7 @@
|
|||
|
||||
users.users.quadradical.maid.gsettings.settings.org.gnome.Ptyxis = rec {
|
||||
default-profile-uuid = "quadradical";
|
||||
profile-uuids = [default-profile-uuid];
|
||||
profile-uuids = [ default-profile-uuid ];
|
||||
Profiles.${default-profile-uuid}.palette = "nord";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue