diff options
Diffstat (limited to 'nixos/socrates/rebuild.nix')
-rw-r--r-- | nixos/socrates/rebuild.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/socrates/rebuild.nix b/nixos/socrates/rebuild.nix new file mode 100644 index 000000000000..e6d885f975ca --- /dev/null +++ b/nixos/socrates/rebuild.nix @@ -0,0 +1,11 @@ +{ 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 +'' |