diff options
Diffstat (limited to 'nixos/rebuild.nix')
-rw-r--r-- | nixos/rebuild.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/rebuild.nix b/nixos/rebuild.nix new file mode 100644 index 000000000000..84a8bb05d6bf --- /dev/null +++ b/nixos/rebuild.nix @@ -0,0 +1,9 @@ +{ pkgs ? import <nixpkgs> {}, ... }: + +pkgs.writeShellScriptBin "rebuild" '' + set -ue + sudo nixos-rebuild \ + -I nixos-config=/home/wpcarro/briefcase/nixos/configuration.nix \ + -I nixpkgs=/home/wpcarro/nixpkgs \ + switch +'' |