mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:08:45 +08:00
32 lines
726 B
Nix
32 lines
726 B
Nix
inputs:
|
|
{
|
|
config =
|
|
{
|
|
nixos =
|
|
{
|
|
system =
|
|
{
|
|
fileSystems =
|
|
{
|
|
mount =
|
|
{
|
|
vfat."/dev/disk/by-uuid/E58F-416A" = "/boot/efi";
|
|
btrfs =
|
|
{
|
|
"/dev/disk/by-uuid/066be4fd-8617-4fe1-9654-c133c2996d33"."/" = "/boot";
|
|
"/dev/mapper/root" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
|
|
};
|
|
};
|
|
swap = [ "/nix/swap/swap" ];
|
|
rollingRootfs = {};
|
|
};
|
|
grub.installDevice = "efi";
|
|
networking = { hostname = "pi3b"; networkd = {}; };
|
|
binfmt.enable = false;
|
|
nixpkgs.arch = "aarch64";
|
|
};
|
|
packages.packageSet = "server";
|
|
};
|
|
};
|
|
}
|