Rename socrates/default.nix -> socrates/configuration.nix
readTree uses the output attribute set of default.nix as the value for nixos.socrates, which disables me from resolving nixos.socrates.rebuild since there is no rebuild attribute in the output attribute set from default.nix. If I rename default.nix -> configuration.nix, I can resolve nixos.socrates.{configuration,hardware,rebuild}.
This commit is contained in:
parent
694ca4a85f
commit
c187d89f27
2 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
pkgs.writeShellScriptBin "rebuild" ''
|
||||
set -ue
|
||||
sudo nixos-rebuild \
|
||||
-I nixos-config=/home/wpcarro/briefcase/nixos/socrates/default.nix \
|
||||
-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 \
|
||||
|
|
Loading…
Reference in a new issue