about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-28 17:10:31 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-28 17:10:31 +0100
commita72db6ab98a8d96aaf9dcafe9bcb5d02b6825e98 (patch)
treea588aebd3994dca729ced4caa5fb0a779bbc5ed9 /machines
parentf2f715add07197e0dffc25fe4cee9480c5501b1e (diff)
downloaddots-a72db6ab98a8d96aaf9dcafe9bcb5d02b6825e98.tar.gz
dots-a72db6ab98a8d96aaf9dcafe9bcb5d02b6825e98.zip
Fixup rpi config
Diffstat (limited to 'machines')
-rw-r--r--machines/rpi3-amadeus/configuration.nix8
-rw-r--r--machines/rpi3-amadeus/default.nix2
2 files changed, 6 insertions, 4 deletions
diff --git a/machines/rpi3-amadeus/configuration.nix b/machines/rpi3-amadeus/configuration.nix
index 72e2a94..13a19db 100644
--- a/machines/rpi3-amadeus/configuration.nix
+++ b/machines/rpi3-amadeus/configuration.nix
@@ -19,9 +19,11 @@
   ];
 
   # File systems configuration for using the installer's partition layout
-  "/" = {
-    device = "/dev/disk/by-label/NIXOS_SD";
-    fsType = "ext4";
+  fileSystems = {
+    "/" = {
+      device = "/dev/disk/by-label/NIXOS_SD";
+      fsType = "ext4";
+    };
   };
 
   # Preserve space by sacrificing documentation and history
diff --git a/machines/rpi3-amadeus/default.nix b/machines/rpi3-amadeus/default.nix
index cd4010f..8f77b8f 100644
--- a/machines/rpi3-amadeus/default.nix
+++ b/machines/rpi3-amadeus/default.nix
@@ -1,6 +1,6 @@
 {
   imports = [
-    ./hardware-configuration.nix
+    # ./hardware-configuration.nix
     ./configuration.nix
   ];
 }