nixos/devices/pcarm/default.nix

29 lines
620 B
Nix
Raw Normal View History

2024-04-03 13:50:08 +08:00
inputs:
{
config =
{
nixos =
{
system =
{
fileSystems =
{
mount =
{
2024-08-17 12:28:58 +08:00
# TODO: reparition
vfat."/dev/disk/by-uuid/CE84-E0D8" = "/boot";
2024-04-03 13:50:08 +08:00
btrfs."/dev/disk/by-uuid/61f51d93-d3e5-4028-a903-332fafbfd365" =
2024-08-17 12:28:58 +08:00
{ "/nix/rootfs/current" = "/"; "/nix" = "/nix"; };
2024-04-03 13:50:08 +08:00
};
rollingRootfs = {};
};
networking = { hostname = "pcarm"; networkd = {}; };
nixpkgs.arch = "aarch64";
2024-04-20 10:57:00 +08:00
kernel.variant = "nixos";
2024-06-07 23:06:15 +08:00
sops.enable = false;
2024-04-03 13:50:08 +08:00
};
services.sshd = {};
};
};
}