creds: machine-id is not useful for the public
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sat, 5 Nov 2022 23:01:20 +0000 (00:01 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sat, 5 Nov 2022 23:06:33 +0000 (00:06 +0100)
hosts/aubergine/hardware.nix
hosts/aubergine/machine-id.clear [new file with mode: 0644]
hosts/oignon/hardware.nix
hosts/oignon/machine-id.clear [new file with mode: 0644]

index bb54cda4708f384a66095d2254afc4d56fb12abe..0a695eebb64158932427edcff17a9bf9b1bac0c2 100644 (file)
@@ -10,7 +10,7 @@
   # Setting the machine-id avoids to reencrypt all credentials
   # when reinstalling NixOS on a new drive.
   # Manually generated with : uuidgen | tr -d -
-  environment.etc.machine-id.text = "be4a9e8cde1145c1bfcff894e36206d6";
+  environment.etc.machine-id.source = ./machine-id.clear;
 
   # The 32-bit host id of the host, formatted as 8 hexadecimal characters.
   # You should try to make this id unique among your hosts.
diff --git a/hosts/aubergine/machine-id.clear b/hosts/aubergine/machine-id.clear
new file mode 100644 (file)
index 0000000..6496436
Binary files /dev/null and b/hosts/aubergine/machine-id.clear differ
index faac47dde94b21f56dc4ff1a05428e0192e76269..2ed914fdad1fd53d4b450d280cc452af0d8588fb 100644 (file)
@@ -9,7 +9,7 @@
   # Setting the machine-id avoids to reencrypt all credentials
   # when reinstalling NixOS on a new drive.
   # Manually generated with : uuidgen | tr -d -
-  environment.etc.machine-id.text = "46e396e54c264a3594d21de5c519dccf";
+  environment.etc.machine-id.source = ./machine-id.clear;
 
   # The 32-bit host id of the host, formatted as 8 hexadecimal characters.
   # You should try to make this id unique among your hosts.
diff --git a/hosts/oignon/machine-id.clear b/hosts/oignon/machine-id.clear
new file mode 100644 (file)
index 0000000..8cbb293
Binary files /dev/null and b/hosts/oignon/machine-id.clear differ