moves bootloader directives to hardware specific files and adds bootloader question to setup.sh

This commit is contained in:
2024-11-09 02:38:29 +01:00
parent f038bcaa61
commit b44457af3a
6 changed files with 61 additions and 20 deletions

View File

@@ -20,10 +20,6 @@
# Include docker if this is a server, otherwise include nothing because we don't intend on running docker services on workstations.
++ lib.optional isServer ./docker/default.nix;
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable networking
networking.networkmanager.enable = true;

View File

@@ -1,5 +1,4 @@
{ config, pkgs, ... }:
{
environment.etc."docker/golink/docker-compose.yml".source = ./golink/docker-compose.yml;
environment.etc."docker/golink/.env".source = ./golink/.env;

View File

@@ -9,6 +9,10 @@
imports = [ /etc/nixos/hardware-configuration.nix ];
networking.hostName = "mennos-gamingpc";
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable Vulkan support for AMD graphics cards
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ amdvlk ];

View File

@@ -9,6 +9,10 @@
imports = [ /etc/nixos/hardware-configuration.nix ];
networking.hostName = "mennos-laptop";
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable OpenGL
hardware.opengl.enable = true;

View File

@@ -9,6 +9,10 @@
imports = [ /etc/nixos/hardware-configuration.nix ];
networking.hostName = "mennos-server";
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable OpenGL
# hardware.opengl.enable = true;