Nest configuration beneath socrates directory

Create a socrates directory to store configuration for socrates.
This commit is contained in:
William Carroll 2020-02-23 22:28:02 +00:00
parent 6a076e8329
commit fd720fbe4d
3 changed files with 5 additions and 10 deletions

View file

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