- Nix 60%
- Rust 38%
- HTML 2%
nur-packages #
My personal NUR repository, hosted on Tangled.
Usage #
As a flake input:
inputs.larandar-nur.url = "git+https://tangled.org/larandar.tngl.sh/nur-packages";
As a nixpkgs overlay, without the NUR namespace:
nixpkgs.overlays = [ (import "${inputs.larandar-nur}/overlay.nix") ];
Waterfox and LibreWolf with settings baked into the install, through the
overlays.mozilla overlay (it replaces nixpkgs' librewolf):
nixpkgs.overlays = [ inputs.larandar-nur.overlays.mozilla ];
environment.systemPackages = [
(pkgs.librewolf.override {
preferences."browser.startup.page" = 3;
policies.DisableTelemetry = true;
})
];
nixosModules.waterfox bakes the same settings into a system-wide Waterfox;
homeModules.waterfox is home-manager's own Firefox-family module (profiles,
extensions, search, policies) for Waterfox, as programs.waterfox. Both
packages also take nixpkgs' wrapFirefox arguments (extraPolicies,
extraPrefs, nativeMessagingHosts, ...), so NixOS's programs.firefox can
drive them.
Both modules offer a chrome theme, off by default: theme = "ting" picks
Ting, the glass chrome, configured by
themes.ting (its palette follows stylix when the host has it). NixOS wears it
in the install, for every profile; Home Manager per profile, each taking the top
level's unless profiles.<name>.theme says otherwise. ting-chrome is the
composed theme, and lib.ting its composer and palettes.
On macOS, Waterfox comes from Homebrew and its app stays as the cask installs
it: darwinModules.waterfox adds the waterfox cask and writes policies,
preferences (as the Preferences policy), extensions, certificates and
searchEngine to the app's system-wide defaults, which Waterfox reads at
start. homeModules.waterfox installs no package there and keeps the profiles
in ~/Library/Application Support/Waterfox, its policies in the user's
defaults.
searchwala-calf is a lite SearchWala:
its search pipeline and page parsing behind a unix socket, .page its
start page. nixosModules.searchwala-calf runs it as a hardened systemd
unit, darwinModules.searchwala-calf as a launchd user agent; its engines
reach the web through PROXY_POOL, SOCKS or HTTP proxies such as
vproxy, which draws each connection's source address from a CIDR.
Without flakes:
nix-build -A example-package
Layout #
pkgs/— packages, registered indefault.nixlib/,overlays/— library functions, overlaysmodules/— modules, exported asflake.nix'snixosModules,darwinModulesandhomeModulesci.nix— the buildable and cacheable package setnix/tamal/— every pin, managed by nixtamal; seeAGENTS.md
Maintenance #
overlay use --prefix toolkit.nu
toolkit update # refresh every pin
CI builds every package except those marked meta.broken, unfree, or
preferLocalBuild; the last are built but not cached.