Browse Source

Fix bad boot loader

main
parent
commit
5b6f322984
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 18
      README.org
  2. 16
      hosts/acernitro/configuration.nix

18
README.org

@ -285,9 +285,9 @@ Deploy this configuration with ~nixos-rebuild switch --flake /etc/dotfiles/#acer
This configuration is nearly identical to the default, except for a few key differences: This configuration is nearly identical to the default, except for a few key differences:
+ Enables sound
+ Applies the desired hostname + Applies the desired hostname
+ It adds support for =UEFI= systems + It adds support for =UEFI= systems
+ Uses an OS Prober to detect dual-boot
+ Enables support for wireless networking + Enables support for wireless networking
#+BEGIN_SRC nix :noweb yes :tangle hosts/acernitro/configuration.nix #+BEGIN_SRC nix :noweb yes :tangle hosts/acernitro/configuration.nix
@ -295,20 +295,22 @@ This configuration is nearly identical to the default, except for a few key diff
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.efiSupport = true;
boot.loader.grub.useOsProber = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "America/Toronto"; time.timeZone = "America/Toronto";
networking.hostName = "acernitro"; networking.hostName = "acernitro";
networking.useDHCP = false;
networking.firewall.enable = false; networking.firewall.enable = false;
networking.interfaces.ens3.useDHCP = true;
networking.wireless.enable = true; networking.wireless.enable = true;
networking.wireless.userControlled.enable = true; networking.wireless.userControlled.enable = true;
networking.useDHCP = false;
networking.interfaces.enp6s0f1.useDHCP = true;
networking.interfaces.wlp0s20f3.useDHCP = true;
sound.enable = true;
services.openssh.enable = true;
services.printing.enable = true;
programs.mtr.enable = true; programs.mtr.enable = true;
programs.fish.enable = true; programs.fish.enable = true;

16
hosts/acernitro/configuration.nix

@ -2,20 +2,22 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.efiSupport = true;
boot.loader.grub.useOsProber = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "America/Toronto"; time.timeZone = "America/Toronto";
networking.hostName = "acernitro"; networking.hostName = "acernitro";
networking.useDHCP = false;
networking.firewall.enable = false; networking.firewall.enable = false;
networking.interfaces.ens3.useDHCP = true;
networking.wireless.enable = true; networking.wireless.enable = true;
networking.wireless.userControlled.enable = true; networking.wireless.userControlled.enable = true;
networking.useDHCP = false;
networking.interfaces.enp6s0f1.useDHCP = true;
networking.interfaces.wlp0s20f3.useDHCP = true;
sound.enable = true;
services.openssh.enable = true;
services.printing.enable = true;
programs.mtr.enable = true; programs.mtr.enable = true;
programs.fish.enable = true; programs.fish.enable = true;

Loading…
Cancel
Save