diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/home/firefox.nix | 20 | ||||
-rw-r--r-- | modules/hosts/T495/home.nix | 2 | ||||
-rw-r--r-- | modules/root/hosts.nix | 5 | ||||
-rw-r--r-- | modules/root/software.nix | 3 |
4 files changed, 28 insertions, 2 deletions
diff --git a/modules/home/firefox.nix b/modules/home/firefox.nix index a55708a..5e015ff 100644 --- a/modules/home/firefox.nix +++ b/modules/home/firefox.nix @@ -1,4 +1,4 @@ -{ userDetails, ... }: { +{ pkgs, userDetails, ... }: { programs.firefox = { # TODO see if there is way to login to moz account in profile enable = true; @@ -12,6 +12,18 @@ urls = [{ template = "https://search.tjkeller.xyz/search?q={searchTerms}"; }]; # Don't know how to do w/ POST but I prefer GET anyways iconURI = "https://search.tjkeller.xyz/static/themes/simple/img/favicon.svg"; # TODO doesn't seem to work }; + "Nix Packages" = { + urls = [{ + template = "https://search.nixos.org/packages"; + params = [ + { name = "type"; value = "packages"; } + { name = "query"; value = "{searchTerms}"; } + ]; + }]; + + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; + definedAliases = [ "@np" ]; + }; }; default = "Timmy Search"; privateDefault = "Timmy Search"; @@ -44,6 +56,9 @@ "general.smoothScroll" = false; #identity.fxaccounts.account.device.name = "timmy’s Firefox on nixos"; # HOSTNAME }; + workSettings = settings // { + "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; # Use builtin dark theme instead of system theme + }; in { Personal = { id = 0; @@ -56,6 +71,9 @@ Work = { id = 1; inherit search; + inherit userChrome; + inherit arkenfox; + settings = workSettings; }; }; }; diff --git a/modules/hosts/T495/home.nix b/modules/hosts/T495/home.nix index 344678c..817b0c0 100644 --- a/modules/hosts/T495/home.nix +++ b/modules/hosts/T495/home.nix @@ -8,6 +8,6 @@ home.file.input-leap-config = { source = ./resources/input-leap; recursive = true; - target = "./config"; + target = "./.config/input-leap"; }; } diff --git a/modules/root/hosts.nix b/modules/root/hosts.nix index ba2c4ae..7ca70ad 100644 --- a/modules/root/hosts.nix +++ b/modules/root/hosts.nix @@ -4,5 +4,10 @@ "192.168.1.11" = [ "truenas-home" ]; "192.168.77.11" = [ "truenas-office" ]; "192.168.77.8" = [ "publicgit" ]; + "173.9.253.3" = [ + "git.tjkeller.xyz" + "piped.tjkeller.xyz" + "tjkeller.xyz" + ]; }; } diff --git a/modules/root/software.nix b/modules/root/software.nix index d7ab886..bf2ec89 100644 --- a/modules/root/software.nix +++ b/modules/root/software.nix @@ -22,6 +22,7 @@ arandr dmenu firefox + libnotify mpv pavucontrol pcmanfm @@ -36,6 +37,7 @@ inkscape qbittorrent qdirstat + remmina thunderbird ungoogled-chromium ] ++ pkgs.lib.optionals config.software.dev.enable [ @@ -49,6 +51,7 @@ lm_sensors nmap openssl + pkg-config python3 sassc sslscan |