all repos — nixfiles @ d181f96c1323f8659378442ea464d19c113471ee

System and user configuration, managed by nix and home-manager

set up nanopi r5s with nixos again

Alan Pearce
commit

d181f96c1323f8659378442ea464d19c113471ee

parent

223b76c2fc27748ffa104ca308427849734a4b63

1 file changed, 26 insertions(+), 0 deletions(-)

changed files
A system/hosts/r5s-hardware.nix
@@ -0,0 +1,26 @@
+{ + lib, + modulesPath, + ... +}: + +{ + boot.initrd.availableKernelModules = [ ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/8734332f-5cf2-4a06-9bae-1dcd080da2b4"; + fsType = "ext4"; + }; + + fileSystems."/var/log" = { + device = "tmpfs"; + fsType = "tmpfs"; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; +}