Nest configuration beneath socrates directory
Create a socrates directory to store configuration for socrates.
This commit is contained in:
parent
6a076e8329
commit
fd720fbe4d
3 changed files with 5 additions and 10 deletions
11
nixos/socrates/rebuild.nix
Normal file
11
nixos/socrates/rebuild.nix
Normal 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
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue