35 lines
585 B
Nix
35 lines
585 B
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}: {
|
|
config = {
|
|
|
|
# hardware-configuration.nix is missing as I've abstracted out the parts
|
|
|
|
mySystem = {
|
|
services.openssh.enable = true;
|
|
security.wheelNeedsSudoPassword = false;
|
|
};
|
|
|
|
# TODO build this in from flake host names
|
|
networking.hostName = "rickenbacker";
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
{
|
|
device = "/dev/disk/by-label/nixos";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{
|
|
device = "/dev/disk/by-uuid/44D0-91EC";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
};
|
|
}
|