Bootloader should be host-specific

This commit is contained in:
Benson Chu 2024-03-13 19:30:58 -05:00
parent 57f2f1fb61
commit 1c4db9168e
5 changed files with 45 additions and 38 deletions

View file

@ -8,11 +8,8 @@
imports = [
../modules/default.nix
];
nix.settings.experimental-features = "nix-command flakes";
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = "nix-command flakes";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -4,13 +4,16 @@
{ config, pkgs, ... }:
{
imports =
[
../../common/configuration.nix
../../common/moms-house
# Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
../../common/configuration.nix
../../common/moms-house
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.useOSProber = true;

View file

@ -4,15 +4,19 @@
{ config, pkgs, ... }:
{
imports =
[
../../common/configuration.nix
../../common/lxd-setup.nix
../../common/moms-house
../../common/exwm.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
../../common/configuration.nix
../../common/lxd-setup.nix
../../common/moms-house
../../common/exwm.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "NixDawn"; # Define your hostname.
fileSystems."/home/benson/workspace" = {

View file

@ -1,16 +1,20 @@
{ config, pkgs, ... }:
{
imports =
[
# ./home-git-repos.nix
../../common/configuration.nix
../../common/user-facing.nix
../../common/development-machine.nix
../../common/laptop-things.nix
../../common/exwm.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# ./home-git-repos.nix
../../common/configuration.nix
../../common/user-facing.nix
../../common/development-machine.nix
../../common/laptop-things.nix
../../common/exwm.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "NixFrame"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -5,13 +5,12 @@
{ config, pkgs, ... }:
{
imports =
[
../../common/moms-house
../../common/configuration.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
../../common/moms-house
../../common/configuration.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.grub.enable = true;