From a72db6ab98a8d96aaf9dcafe9bcb5d02b6825e98 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 28 Jan 2021 17:10:31 +0100 Subject: Fixup rpi config --- machines/rpi3-amadeus/configuration.nix | 8 +++++--- machines/rpi3-amadeus/default.nix | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'machines') 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 ]; } -- cgit 1.4.1