This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/hosts/rickenbacker/default.nix

34 lines
585 B
Nix
Raw Normal View History

2024-03-21 04:54:51 -05:00
{ config
, lib
, pkgs
, ...
}: {
2024-03-24 07:21:13 -05:00
# hardware-configuration.nix is missing as I've abstracted out the parts
2024-03-26 05:11:56 -05:00
2024-03-24 07:21:13 -05:00
config.mySystem = {
services.openssh.enable = true;
security.wheelNeedsSudoPassword = false;
2024-03-21 07:32:10 -05:00
};
2024-03-21 04:54:51 -05:00
2024-03-24 07:21:13 -05:00
# TODO build this in from flake host names
config.networking.hostName = "rickenbacker";
2024-03-21 04:54:51 -05:00
2024-03-24 07:21:13 -05:00
config = {
2024-03-21 04:54:51 -05:00
2024-03-24 07:21:13 -05:00
fileSystems."/" =
{
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
2024-03-21 04:54:51 -05:00
2024-03-24 07:21:13 -05:00
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/44D0-91EC";
fsType = "vfat";
};
2024-03-21 04:54:51 -05:00
2024-03-24 07:21:13 -05:00
swapDevices = [ ];
};
2024-03-21 04:54:51 -05:00
}