CrOS/hosts/nixos/Michishirube/default.nix
2025-08-06 15:01:21 -04:00

51 lines
920 B
Nix

#############################
# #
# Michishirube - Lighthouse #
# #
#############################
{
inputs,
lib,
pkgs,
...
}: {
imports = lib.flatten [
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
{
_module.args = {
disk = "/dev/sda";
withSwap = false;
};
}
# Misc
(map lib.custom.relativeToRoot [
# Required configs
"hosts/common/core"
# Optional configs
])
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hostSpec = {
hostName = "Michishirube";
persistFolder = "/persist";
isMinimal = true;
};
networking = {
networkmanager.enable = true;
enableIPv6 = false;
};
boot.loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
};
};
}