Serenity/modules/hosts/test/configuration.nix
2026-09-28 16:56:05 +10:00

40 lines
639 B
Nix

{ self, inputs, ... }:
{
# host module declaration
flake.nixosModules.installer-configuration =
{
pkgs,
lib,
...
}:
{
# other modules to import
imports = [ ];
# set hostname
networking.hostName = "serenityos";
# bootloader settings
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# supported filesystems at boot
boot.supportedFilesystems = [
"vfat"
"ext4"
"ntfs"
];
# specifies x64 uArch
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
};
}