nix-configs/systems/orangepihole/hardware-configuration.nix

29 lines
740 B
Nix
Raw Normal View History

2024-04-05 22:04:41 -04:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
fileSystems."/" =
2024-05-05 16:17:37 -04:00
{ device = "/dev/disk/by-uuid/6df53c4f-42b6-478b-8be4-f7887ad18b5b";
fsType = "btrfs";
options = [ "defaults" "subvol=@nixos/root" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/a4d76da9-b8eb-4615-9d64-a36e1383da80";
2024-04-05 22:04:41 -04:00
fsType = "ext4";
2024-05-05 16:17:37 -04:00
options = [ "defaults" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/6df53c4f-42b6-478b-8be4-f7887ad18b5b";
fsType = "btrfs";
options = [ "defaults" "subvol=@nixos/nix" ];
2024-04-05 22:04:41 -04:00
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}