Compare commits

...

2 commits

Author SHA1 Message Date
5c4bf0f023
Add home-manager options search engine to firefox 2024-11-25 02:31:06 -07:00
b502b6518e
Add steam 2024-11-25 02:31:06 -07:00
3 changed files with 30 additions and 5 deletions

View file

@ -114,7 +114,15 @@
search = { search = {
force = true; force = true;
default = "SearXNG"; default = "SearXNG";
order = [ "SearXNG" "Google" "Wikipedia" "Nix Packages" "NixOS Options" "NixOS Wiki" ]; order = [
"SearXNG"
"Google"
"Wikipedia"
"Nix Packages"
"NixOS Options"
"Home Manager Options"
"NixOS Wiki"
];
engines = { engines = {
# Nix Package Search # Nix Package Search
"Nix Packages" = { "Nix Packages" = {
@ -125,7 +133,7 @@
{ name = "query"; value = "{searchTerms}"; } { name = "query"; value = "{searchTerms}"; }
]; ];
}]; }];
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ]; definedAliases = [ "@np" ];
}; };
# NixOS Options Search # NixOS Options Search
@ -137,9 +145,18 @@
{ name = "query"; value = "{searchTerms}"; } { name = "query"; value = "{searchTerms}"; }
]; ];
}]; }];
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ]; definedAliases = [ "@no" ];
}; };
# Nix Home-Manager options search
"Home Manager Options" = {
urls = [{
template = "https://home-manager-options.extranix.com";
params = [{ name = "query"; value = "{searchTerms}"; }];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@ho" ];
};
# NixOS Wiki Search # NixOS Wiki Search
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];

View file

@ -1,7 +1,10 @@
{ ... }: { ... }:
{ {
# Enable wayland support for electron apps # Enable wayland support
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables ={
NIXOS_OZONE_WL = "1";
STEAM_FORCE_DESKTOPUI_SCALING = "2";
};
# Enable zsh-autocomplete compatibility # Enable zsh-autocomplete compatibility
environment.pathsToLink = [ "/share/zsh" ]; environment.pathsToLink = [ "/share/zsh" ];

View file

@ -13,6 +13,11 @@
# Misc # Misc
vimix-cursors # SDDM Cursor theme vimix-cursors # SDDM Cursor theme
]; ];
programs.steam = {
enable = true;
extest.enable = true;
};
# Install zsh # Install zsh
programs.zsh.enable = true; programs.zsh.enable = true;