about summary refs log blame commit diff
path: root/nixos/socrates/rebuild.nix
blob: e6d885f975ca7f19d378b98dbe20ba0ec58c6eb0 (plain) (tree)
1
2
3
4
5
6
7
8
9
              



                                     
                                                                        
                                      

                                          

          
{ 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
''