about summary refs log tree commit diff
path: root/nixos/socrates/rebuild.nix
blob: 1ab4f5133d0b4c6697fbdb180b3cb8c31e90a397 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ pkgs, ... }:

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