tweak: host settings

This commit is contained in:
serenity-F 2026-09-28 17:52:42 +10:00
parent ed0fa6227e
commit 98afdd6892
No known key found for this signature in database
2 changed files with 36 additions and 41 deletions

View file

@ -1,40 +0,0 @@
{ 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";
};
}

View file

@ -10,6 +10,7 @@
# shared system modules
core
#user-options
# host-specific options
installer-configuration
@ -22,11 +23,45 @@
virtualisation
# users to include on host
#user-options
serenity
];
};
# 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";
};
}