40 lines
639 B
Nix
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";
|
|
|
|
};
|
|
|
|
}
|