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

44 lines
859 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
# into various areas like my global/hardware profiles, etc.
2024-03-21 04:54:51 -05:00
imports = [
# Common imports
../common/nixos/users/truxnell
../common/optional/fish.nix
../common/optional/gnome.nix
../common/optional/editors/vscode
../common/optional/firefox.nix
];
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
}