My NixOS configuration and dotfiles
0

Configure Feed

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

feat: jailed and fast update pi and opencode

+11 -6
+2 -2
cli/opencode.nix
··· 1 1 { 2 2 config, 3 - pkgs-unstable, 3 + pkgs-unstable-small, 4 4 jail, 5 5 ... 6 6 }: 7 7 { 8 8 home.packages = [ 9 - (jail "opencode" pkgs-unstable.opencode ( 9 + (jail "opencode" pkgs-unstable-small.opencode ( 10 10 c: with c; [ 11 11 network 12 12 mount-cwd
+2 -2
cli/pi-coding-agent.nix
··· 1 1 { 2 2 config, 3 3 jail, 4 - pkgs-unstable, 4 + pkgs-unstable-small, 5 5 ... 6 6 }: 7 7 { 8 8 home.packages = [ 9 - (jail "pi" pkgs-unstable.pi-coding-agent ( 9 + (jail "pi" pkgs-unstable-small.pi-coding-agent ( 10 10 c: with c; [ 11 11 network 12 12 mount-cwd
+6 -1
flake.nix
··· 20 20 21 21 nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; 22 22 23 + # for opencoode and pi-coding-agent 24 + # which I want to be on the latest version but don't want to wait for the whole nixpkgs-unstable to build 25 + nixpkgs-unstable-small.url = "nixpkgs/nixos-unstable-small"; 26 + 23 27 jail-nix = { 24 28 url = "sourcehut:~alexdavid/jail.nix"; 25 29 }; ··· 68 72 system = "x86_64-linux"; 69 73 pkgs = nixpkgs.legacyPackages.${system}; 70 74 pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${system}; 75 + pkgs-unstable-small = inputs.nixpkgs-unstable-small.legacyPackages.${system}; 71 76 pkgs-fast-release = import inputs.nixpkgs-fast-release { 72 77 system = system; 73 78 config.allowUnfree = true; ··· 145 150 inputs.zen-browser.homeModules.beta 146 151 ]; 147 152 extraSpecialArgs = { 148 - inherit inputs pkgs-unstable jail; 153 + inherit inputs pkgs-unstable pkgs-unstable-small jail; 149 154 }; 150 155 }; 151 156
+1 -1
home.nix
··· 44 44 45 45 # Update the inputs 46 46 echo "Updating flake inputs..." 47 - if nix flake update nixpkgs nixpkgs-unstable zen-browser; then 47 + if nix flake update nixpkgs nixpkgs-unstable-small zen-browser; then 48 48 echo "Private flake update successful" 49 49 else 50 50 echo "Flake update failed"