me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

add stub flake

author
Sean Aye
date (Mar 22, 2026, 8:03 PM -0400) commit 3f5e1a9a parent 46cc1441 change-id zwrwukkq
+53 -3
+29
berkeley-mono-stub/flake.nix
··· 1 + { 2 + description = "Stub for berkeley-mono font (used when the private repo is unavailable)"; 3 + 4 + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 5 + 6 + outputs = 7 + { nixpkgs, ... }: 8 + let 9 + systems = [ 10 + "x86_64-linux" 11 + "aarch64-linux" 12 + ]; 13 + forAllSystems = nixpkgs.lib.genAttrs systems; 14 + in 15 + { 16 + isStub = true; 17 + packages = forAllSystems ( 18 + system: 19 + let 20 + pkgs = nixpkgs.legacyPackages.${system}; 21 + in 22 + { 23 + default = pkgs.runCommandLocal "berkeley-mono-stub" { } '' 24 + mkdir -p $out 25 + ''; 26 + } 27 + ); 28 + }; 29 + }
+17
flake.lock
··· 39 39 "type": "github" 40 40 } 41 41 }, 42 + "berkeley-mono": { 43 + "inputs": { 44 + "nixpkgs": [ 45 + "nixpkgs" 46 + ] 47 + }, 48 + "locked": { 49 + "path": "./berkeley-mono-stub", 50 + "type": "path" 51 + }, 52 + "original": { 53 + "path": "./berkeley-mono-stub", 54 + "type": "path" 55 + }, 56 + "parent": [] 57 + }, 42 58 "catppuccin": { 43 59 "inputs": { 44 60 "nixpkgs": "nixpkgs" ··· 761 777 "root": { 762 778 "inputs": { 763 779 "agenix": "agenix", 780 + "berkeley-mono": "berkeley-mono", 764 781 "catppuccin": "catppuccin", 765 782 "copyparty": "copyparty", 766 783 "fsel": "fsel",
+1 -1
flake.nix
··· 40 40 inputs.nixpkgs.follows = "nixpkgs"; 41 41 }; 42 42 berkeley-mono = { 43 - url = "github:seanaye/berkeley-mono"; 43 + url = "path:./berkeley-mono-stub"; 44 44 inputs.nixpkgs.follows = "nixpkgs"; 45 45 }; 46 46 mako-tui = {
+1 -1
hosts/common/common.nix
··· 1 1 { pkgs, lib, inputs, ... }: 2 2 3 3 let 4 - hasBerkeleyMono = inputs ? berkeley-mono; 4 + hasBerkeleyMono = inputs ? berkeley-mono && !(inputs.berkeley-mono ? isStub); 5 5 berkeley-mono-typeface = 6 6 if hasBerkeleyMono then inputs.berkeley-mono.packages.${pkgs.system}.default else null; 7 7
+2 -1
hosts/common/home.nix
··· 44 44 }) 45 45 fd 46 46 ripgrep 47 - opencode 47 + codex 48 48 yazi # tui file browser 49 49 gh # github cli 50 50 forgejo-cli ··· 113 113 vscode-json-languageserver 114 114 gnome-network-displays 115 115 rainfrog # db tui 116 + just 116 117 loupe # image viewer 117 118 glycin-loaders # various format loaders for loupe 118 119 docker-compose
+3
justfile
··· 1 + switch target: 2 + sudo SSH_AUTH_SOCK=$SSH_AUTH_SOCK nixos-rebuild switch --flake {{target}} --override-input berkeley-mono git+ssh://git@codeberg.org/seanaye/berkeley-mono 3 + 1 4 generate_vpn: 2 5 nix-shell -p mozwire --run "mozwire relay save -n 0 --killswitch"