aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--mitamae/default.rb2
-rw-r--r--mitamae/node.hotaru.json (renamed from mitamae/node.private-hotaru.json)4
-rw-r--r--mitamae/node.pc168.json (renamed from mitamae/node.work-pc168.json)4
4 files changed, 7 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index 7447494..caeb8f3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -46,8 +46,8 @@
readJSON = p: builtins.fromJSON (builtins.readFile p);
mkHomeConfigurationFromJSON = p: mkHomeConfiguration (readJSON p).flake;
in {
- private-hotaru = mkHomeConfigurationFromJSON ./mitamae/node.private-hotaru.json;
- work-pc168 = mkHomeConfigurationFromJSON ./mitamae/node.work-pc168.json;
+ hotaru = mkHomeConfigurationFromJSON ./mitamae/node.hotaru.json;
+ pc168 = mkHomeConfigurationFromJSON ./mitamae/node.pc168.json;
};
};
}
diff --git a/mitamae/default.rb b/mitamae/default.rb
index 361d50d..d729f31 100644
--- a/mitamae/default.rb
+++ b/mitamae/default.rb
@@ -96,7 +96,7 @@ execute "cargo: install hgrep" do
not_if "type hgrep"
end
-if node[:use] == "private"
+if node[:profile] == "private"
package "pkg-config"
package "libssl-dev"
diff --git a/mitamae/node.private-hotaru.json b/mitamae/node.hotaru.json
index 60cec07..0885bed 100644
--- a/mitamae/node.private-hotaru.json
+++ b/mitamae/node.hotaru.json
@@ -1,6 +1,6 @@
{
- "name": "private-hotaru",
- "use": "private",
+ "name": "hotaru",
+ "profile": "private",
"targetArch": "x86_64-linux",
"flake": {
"system": "x86_64-linux",
diff --git a/mitamae/node.work-pc168.json b/mitamae/node.pc168.json
index 2ef46e1..dfd3544 100644
--- a/mitamae/node.work-pc168.json
+++ b/mitamae/node.pc168.json
@@ -1,6 +1,6 @@
{
- "name": "work-pc168",
- "use": "work",
+ "name": "pc168",
+ "profile": "work",
"targetArch": "aarch64-darwin",
"flake": {
"system": "aarch64-darwin",