switch to zen browser on laptop

This commit is contained in:
greyweather committed 2026-12-02 01:32:45 +00:00
1 parent 15acb50bb8
commit 211f341a25
14 files changed
+202 -108

No files matched your search

+1 -1
View File
@@ -33,4 +33,4 @@
xdg.configFile."noctalia/plugins".source = "${self}/dotfiles/${config.info.hostName}/noctalia/plugins";
};
};
}
}
+2 -2
View File
@@ -1,10 +1,10 @@
{ ... }: {
{ self, ... }: {
imports = [ ./niri.nix ];
flake.nixosModules.graphics = { config, pkgs, lib, ... }: {
# override niri source to use https://github.com/barrulus/biri
config = lib.mkIf (builtins.elem "biri" config.components.windowManagers) {
programs.niri.package = pkgs.biri;
programs.niri.package = self.packages.${pkgs.stdenv.hostPlatform.system}.biri;
home-manager.users.${config.info.userName} = lib.mkIf (config.features.nixos.home-manager.enable) {
components.windowManagers = [ "biri" ];
@@ -73,6 +73,7 @@
};
search = {
force = true;
engines = {
nixpkgs = {
name = "nixpkgs packages";
@@ -128,8 +129,6 @@
};
};
};
home.file.".librewolf/default/search.json.mozlz4".force = lib.mkForce true;
});
};
}
@@ -10,8 +10,79 @@ in {
};
flake.homeModules.graphics = { config, pkgs, ... }: {
imports = [ (inputs.helpers.mkStandardFeature.homeModule { inherit config optionName; } {
home.packages = [ inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default ];
}) ];
imports = [
inputs.zen-browser.homeModules.beta
(inputs.helpers.mkStandardFeature.homeModule { inherit config optionName; } {
programs.zen-browser = {
enable = true;
profiles.default.search = {
force = true;
default = "ddg-noai";
engines = {
ddg-noai = {
name = "DuckDuckGo NoAI";
urls = [
{
template = "https://noai.duckduckgo.com/search?q={searchTerms}";
}
];
icon = "https://duckduckgo.com/favicon.ico";
definedAliases = ["@noai"];
};
nixpkgs = {
name = "nixpkgs packages";
urls = [
{
template = "https://search.nixos.org/packages?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@np"];
};
nixos-options = {
name = "NixOS options";
urls = [
{
template = "https://search.nixos.org/options?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@no"];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [
{
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@nw"];
};
noogle = {
name = "Noogle";
urls = [
{
template = "https://noogle.dev/q/?term={searchTerms}";
}
];
icon = "https://noogle.dev/favicon.ico";
definedAliases = ["@ng"];
};
arch-wiki = {
name = "ArchWiki";
urls = [
{
template = "https://wiki.archlinux.org/index.php?search={searchTerms}";
}
];
icon = "https://wiki.archlinux.org/favicon.ico";
definedAliases = ["@aw"];
};
};
};
};
})
];
};
}
+2
View File
@@ -89,6 +89,8 @@
};
};
};
pandoc.enable = true;
};
};
}
+2
View File
@@ -106,5 +106,7 @@
services.gnome.gnome-keyring.enable = true;
environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; # from description of this home-manager option: https://search.nixos.org/options?channel=26.05&query=xdg.portal.enable&source=home_manager&type=options
security.polkit.enable = true;
};
}
+10 -3
View File
@@ -25,7 +25,7 @@
home-manager.enable = true;
stylix = {
enable = true;
image = builtins.path { path = "${self}/assets/wallpapers/rei-aquarium.jpg"; };
image = builtins.path { path = "${self}/assets/wallpapers/shinji-tunes.png"; };
};
};
@@ -41,7 +41,7 @@
kitty.enable = true;
vscode.enable = true;
equibop.enable = true;
librewolf.enable = true;
zen-browser.enable = true;
remmina.enable = true;
spotify = {
enable = true;
@@ -64,6 +64,9 @@
godot
libreoffice
sysfsutils
pom
terminal-typeracer
# self.packages.${pkgs.stdenv.hostPlatform.system}.roll-cli
];
};
};
@@ -104,7 +107,6 @@
boot = {
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"rd.udev.log_level=3"
@@ -122,6 +124,11 @@
users.grey.extraGroups = [ "fan_ctl" ];
groups.fan_ctl = { };
};
virtualisation.waydroid = {
enable = true;
package = pkgs.waydroid-nftables;
};
};
flake.homeModules."grey@kitagawa" = { config, pkgs, inputs, lib, ... }: {
-1
View File
@@ -9,7 +9,6 @@
vscode = stablePkgs.vscode;
deadlock-mod-manager = stablePkgs.deadlock-mod-manager;
r2modman = stablePkgs.r2modman;
biri = self.packages.${prev.stdenv.hostPlatform.system}.biri;
})
];
in {
+1 -1
View File
@@ -1,4 +1,4 @@
{ inputs, self, ... }: {
{ ... }: {
perSystem = { pkgs, ... }: {
packages = let
overrideAttrs = with pkgs; finalAttrs: prevAttrs: {
-27
View File
@@ -1,27 +0,0 @@
{ inputs, self, ... }: {
perSystem = { pkgs, ... }: {
packages = let
pname = "r2modman";
version = "3.2.20";
src = pkgs.fetchFromGitHub {
owner = "ebkr";
repo = "r2modmanPlus";
rev = "v${version}";
hash = "";
};
appimageContents = pkgs.appimageTools.extract { inherit pname version src; };
in {
r2modman = pkgs.appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
};
};
};
}