add a common-x86 module

This commit is contained in:
Andreas Zweili 2022-03-15 17:51:12 +01:00
parent f3bbfb9382
commit 77f1ad0a67
3 changed files with 18 additions and 9 deletions

View File

@ -58,7 +58,7 @@
configurationNix
# Common configuration
./modules/common
./modules/common-x86
home-manager.nixosModules.home-manager
{
@ -79,7 +79,7 @@
configurationNix
# Common configuration
./modules/common
./modules/common-x86
home-manager.nixosModules.home-manager
{

View File

@ -0,0 +1,16 @@
{ inputs, custom, pkgs, ... }:
{
imports = [
"${inputs.self}/modules/common"
];
# Use the systemd-boot EFI boot loader.
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
hardware = {
cpu.intel.updateMicrocode = true;
};
}

View File

@ -4,12 +4,6 @@
"${inputs.self}/modules/cli"
];
# Use the systemd-boot EFI boot loader.
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# The rough location
location = {
latitude = 46.948;
@ -26,7 +20,6 @@
};
hardware = {
cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true;
};