chore: upgrade to NixOS 25.05
This commit is contained in:
parent
1ace6186cf
commit
418fc173e6
14 changed files with 99 additions and 82 deletions
home/browsers
|
@ -65,15 +65,16 @@ in
|
|||
private = {
|
||||
id = 0;
|
||||
extraConfig = sharedExtraConfig;
|
||||
extensions = commonExtensions;
|
||||
extensions.packages = commonExtensions;
|
||||
};
|
||||
work = {
|
||||
id = 1;
|
||||
extraConfig = sharedExtraConfig;
|
||||
extensions =
|
||||
extensions.packages =
|
||||
commonExtensions
|
||||
++ (with firefox-addons; [
|
||||
bitwarden
|
||||
# dashlane
|
||||
# bitwarden
|
||||
react-devtools
|
||||
reduxdevtools
|
||||
]);
|
||||
|
|
|
@ -50,124 +50,145 @@ let
|
|||
commonSearch = {
|
||||
force = true;
|
||||
# TODO defaults don't work
|
||||
default = "Qwant";
|
||||
privateDefault = "Qwant";
|
||||
default = "qwant";
|
||||
privateDefault = "qwant";
|
||||
order = [
|
||||
"Qwant"
|
||||
"Ecosia"
|
||||
"DuckDuckGo"
|
||||
"Startpage"
|
||||
"qwant"
|
||||
"ecosia"
|
||||
"ddg"
|
||||
"startpage"
|
||||
"kagi"
|
||||
];
|
||||
engines = {
|
||||
# builtin
|
||||
"Startpage".metaData.alias = "@s";
|
||||
"DuckDuckGo".metaData.alias = "@d";
|
||||
startpage.metaData.alias = "@s";
|
||||
ddg.metaData.alias = "@d";
|
||||
|
||||
# extra
|
||||
"Qwant" = {
|
||||
qwant = {
|
||||
name = "Qwant";
|
||||
urls = [ { template = "https://www.qwant.com/?q={searchTerms}"; } ];
|
||||
iconURL = "https://www.qwant.com/favicon.ico";
|
||||
iconMapObj."16" = "https://www.qwant.com/favicon.ico";
|
||||
definedAliases = [ "@q" ];
|
||||
};
|
||||
"Ecosia" = {
|
||||
ecosia = {
|
||||
name = "Ecosia";
|
||||
urls = [ { template = "https://www.ecosia.org/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://www.ecosia.org/favicon.ico";
|
||||
iconMapObj."16" = "https://www.ecosia.org/favicon.ico";
|
||||
definedAliases = [ "@e" ];
|
||||
};
|
||||
"kagi" = {
|
||||
kagi = {
|
||||
name = "Kagi";
|
||||
urls = [ { template = "https://kagi.com/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://kagi.com/favicon.ico";
|
||||
iconMapObj."16" = "https://kagi.com/favicon.ico";
|
||||
definedAliases = [ "@k" ];
|
||||
};
|
||||
"GitHub" = {
|
||||
github = {
|
||||
name = "GitHub";
|
||||
urls = [ { template = "https://github.com/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://github.com/favicon.ico";
|
||||
iconMapObj."16" = "https://github.com/favicon.ico";
|
||||
definedAliases = [ "@gh" ];
|
||||
};
|
||||
"GitLab" = {
|
||||
gitlab = {
|
||||
name = "GitLab";
|
||||
urls = [ { template = "https://gitlab.com/search?search={searchTerms}"; } ];
|
||||
iconURL = "https://gitlab.com/favicon.ico";
|
||||
iconMapObj."16" = "https://gitlab.com/favicon.ico";
|
||||
definedAliases = [ "@gl" ];
|
||||
};
|
||||
"Codeberg" = {
|
||||
codeberg = {
|
||||
name = "Codeberg";
|
||||
urls = [ { template = "https://codeberg.org/explore/repos?q={searchTerms}"; } ];
|
||||
iconURL = "https://codeberg.org/favicon.ico";
|
||||
iconMapObj."16" = "https://codeberg.org/favicon.ico";
|
||||
definedAliases = [ "@cb" ];
|
||||
};
|
||||
"Nix Packages" = {
|
||||
nix-packages = {
|
||||
name = "Nix Packages";
|
||||
urls = [ { template = "https://search.nixos.org/packages?query={searchTerms}"; } ];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
"NixOS Options" = {
|
||||
nixos-options = {
|
||||
name = "NixOS Options";
|
||||
urls = [ { template = "https://search.nixos.org/options?query={searchTerms}"; } ];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@no" ];
|
||||
};
|
||||
"Nix Flakes: Packages" = {
|
||||
nix-flakes-packages = {
|
||||
name = "Nix Flakes: Packages";
|
||||
urls = [ { template = "https://search.nixos.org/flakes?type=packages&query={searchTerms}"; } ];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@nfp" ];
|
||||
};
|
||||
"Nix Flakes: Options" = {
|
||||
nix-flakes-options = {
|
||||
name = "Nix Flakes: Options";
|
||||
urls = [ { template = "https://search.nixos.org/flakes?type=options&query={searchTerms}"; } ];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@nfo" ];
|
||||
};
|
||||
"NixOS Wiki" = {
|
||||
nixos-wiki = {
|
||||
name = "NixOS Wiki";
|
||||
urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
"Crates.io" = {
|
||||
crates-io = {
|
||||
name = "Crates.io";
|
||||
urls = [ { template = "https://crates.io/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://crates.io/favicon.ico";
|
||||
iconMapObj."16" = "https://crates.io/favicon.ico";
|
||||
definedAliases = [ "@rc" ];
|
||||
};
|
||||
"Docs.rs" = {
|
||||
docs-rs = {
|
||||
name = "Docs.rs";
|
||||
urls = [ { template = "https://docs.rs/releases/search?query={searchTerms}"; } ];
|
||||
iconURL = "https://docs.rs/favicon.ico";
|
||||
iconMapObj."16" = "https://docs.rs/favicon.ico";
|
||||
definedAliases = [ "@rd" ];
|
||||
};
|
||||
"Rust Book" = {
|
||||
rust-book = {
|
||||
name = "Rust Book";
|
||||
urls = [ { template = "https://doc.rust-lang.org/book/?search={searchTerms}"; } ];
|
||||
iconURL = "https://doc.rust-lang.org/book/favicon.svg";
|
||||
iconMapObj."16" = "https://doc.rust-lang.org/book/favicon.svg";
|
||||
definedAliases = [ "@rb" ];
|
||||
};
|
||||
"Rust std" = {
|
||||
rust-std = {
|
||||
name = "Rust std";
|
||||
urls = [ { template = "https://doc.rust-lang.org/stable/std/?search={searchTerms}"; } ];
|
||||
iconURL = "https://www.rust-lang.org/static/images/favicon.svg";
|
||||
iconMapObj."16" = "https://www.rust-lang.org/static/images/favicon.svg";
|
||||
definedAliases = [ "@rs" ];
|
||||
};
|
||||
"npm" = {
|
||||
npm = {
|
||||
name = "npm";
|
||||
urls = [ { template = "https://www.npmjs.com/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://static-production.npmjs.com/da3ab40fb0861d15c83854c29f5f2962.png";
|
||||
iconMapObj."16" = "https://static-production.npmjs.com/da3ab40fb0861d15c83854c29f5f2962.png";
|
||||
definedAliases = [ "@npm" ];
|
||||
};
|
||||
"PyPI" = {
|
||||
pypi = {
|
||||
name = "PyPI";
|
||||
urls = [ { template = "https://pypi.org/search/?q={searchTerms}"; } ];
|
||||
iconURL = "https://pypi.org/favicon.ico";
|
||||
iconMapObj."16" = "https://pypi.org/favicon.ico";
|
||||
definedAliases = [ "@pypi" ];
|
||||
};
|
||||
"Stack Overflow" = {
|
||||
stack-overflow = {
|
||||
name = "Stack Overflow";
|
||||
urls = [ { template = "https://stackoverflow.com/search?q={searchTerms}"; } ];
|
||||
iconURL = "https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico";
|
||||
iconMapObj."16" = "https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico";
|
||||
definedAliases = [ "@so" ];
|
||||
};
|
||||
"Wikipedia" = {
|
||||
wikipedia = {
|
||||
name = "Wikipedia";
|
||||
urls = [ { template = "https://en.wikipedia.org/wiki/{searchTerms}"; } ];
|
||||
iconURL = "https://en.wikipedia.org/favicon.ico";
|
||||
iconMapObj."16" = "https://en.wikipedia.org/favicon.ico";
|
||||
definedAliases = [ "@w" ];
|
||||
};
|
||||
"Wolfram Alpha" = {
|
||||
wolfram-alpha = {
|
||||
name = "Wolfram Alpha";
|
||||
urls = [ { template = "https://www.wolframalpha.com/input?i={searchTerms}"; } ];
|
||||
iconURL = "https://www.wolframalpha.com/_next/static/images/favicon_1zbE9hjk.ico";
|
||||
iconMapObj."16" = "https://www.wolframalpha.com/_next/static/images/favicon_1zbE9hjk.ico";
|
||||
definedAliases = [ "@wa" ];
|
||||
};
|
||||
"Reddit" = {
|
||||
reddit = {
|
||||
name = "Reddit";
|
||||
urls = [ { template = "https://www.reddit.com/search/?q={searchTerms}"; } ];
|
||||
iconURL = "https://www.reddit.com/favicon.ico";
|
||||
iconMapObj."16" = "https://www.reddit.com/favicon.ico";
|
||||
definedAliases = [ "@r" ];
|
||||
};
|
||||
};
|
||||
|
@ -191,13 +212,12 @@ in
|
|||
id = 0;
|
||||
settings = commonSettings;
|
||||
search = commonSearch;
|
||||
extensions = commonExtensions;
|
||||
extensions.packages = commonExtensions;
|
||||
};
|
||||
work = {
|
||||
id = 1;
|
||||
settings = commonSettings;
|
||||
search = commonSearch;
|
||||
extensions =
|
||||
extensions.packages =
|
||||
commonExtensions
|
||||
++ (with firefox-addons; [
|
||||
bitwarden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue