Browse Source

Move boot loader into hardware config

main
parent
commit
3867f156be
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 1
      README.org
  2. 8
      hosts/acernitro/configuration.nix
  3. 5
      hosts/acernitro/hardware.nix
  4. 4
      hosts/nixos/configuration.nix
  5. 4
      hosts/nixos/hardware.nix

1
README.org

@ -538,7 +538,6 @@ This configuration is nearly identical to the default, except for a few key diff
*** Hardware
+ Override the default =DPI=
+ Enables sound via PulseAudio
+ Adds support for the NVIDIA Hybrid GPU

8
hosts/acernitro/configuration.nix

@ -2,9 +2,6 @@
{ config, pkgs, inputs, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "America/Toronto";
networking.hostName = "acernitro";
@ -19,6 +16,7 @@
networking.wireless.networks.MyWiFi_5C1870.pskRaw =
"409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
services.xserver.dpi = 96;
services.openssh.enable = true;
services.printing.enable = true;
@ -28,7 +26,7 @@
users.users.chris = {
shell = pkgs.fish;
isNormalUser = true;
extraGroups = [ "wheel" ];
isnormaluser = true;
extragroups = [ "wheel" ];
};
}

5
hosts/acernitro/hardware.nix

@ -11,12 +11,13 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true;
services.xserver.dpi = 96;
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2f548eb9-47ce-4280-950f-9c6d1d162852";
fsType = "ext4";

4
hosts/nixos/configuration.nix

@ -2,10 +2,6 @@
{ config, pkgs, inputs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
time.timeZone = "America/Toronto";
networking.hostName = "nixos";

4
hosts/nixos/hardware.nix

@ -11,6 +11,10 @@
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fddc37ff-a442-41fa-afc4-abf878be7c5a";
fsType = "ext4";

Loading…
Cancel
Save