tvl-depot/nixos/socrates/rebuild.nix

12 lines
291 B
Nix
Raw Normal View History

{ pkgs, ... }:
pkgs.writeShellScriptBin "rebuild" ''
set -ue
sudo nixos-rebuild \
-I nixos-config=/home/wpcarro/briefcase/nixos/socrates/default.nix \
-I nixpkgs=/home/wpcarro/nixpkgs \
-I depot=/home/wpcarro/depot \
-I briefcase=/home/wpcarro/briefcase \
switch
''