tweak: host settings
This commit is contained in:
parent
ed0fa6227e
commit
98afdd6892
2 changed files with 36 additions and 41 deletions
|
|
@ -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";
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -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";
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue