about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-07T15·23+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-07T16·17+0000
commitc187d89f271e7ef176a10ea9a2ac58fef9c0ed0c (patch)
treefb5367f1a326b3671ef988f5a322c2204b214d58
parent694ca4a85f8203be53b12ee553601d461465fe34 (diff)
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}.
-rw-r--r--nixos/socrates/configuration.nix (renamed from nixos/socrates/default.nix)0
-rw-r--r--nixos/socrates/rebuild.nix2
2 files changed, 1 insertions, 1 deletions
diff --git a/nixos/socrates/default.nix b/nixos/socrates/configuration.nix
index fbdff3f50f6b..fbdff3f50f6b 100644
--- a/nixos/socrates/default.nix
+++ b/nixos/socrates/configuration.nix
diff --git a/nixos/socrates/rebuild.nix b/nixos/socrates/rebuild.nix
index e6d885f975ca..1ab4f5133d0b 100644
--- a/nixos/socrates/rebuild.nix
+++ b/nixos/socrates/rebuild.nix
@@ -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 \