minor cleanup

This commit is contained in:
Peder Bergebakken Sundt 2023-03-01 03:20:31 +01:00
parent fac1c0a7ed
commit d51b678369
2 changed files with 15 additions and 4 deletions

View File

@ -16,7 +16,15 @@
# temp # temp
inputs.pr-polaris14.url = "github:pbsds/nixpkgs/polaris-14"; inputs.pr-polaris14.url = "github:pbsds/nixpkgs/polaris-14";
outputs = { self, nixpkgs, unstable, nixos-hardware, nur, home-manager, ... }@inputs: outputs = {
self,
nixpkgs,
unstable,
nixos-hardware,
nur,
home-manager,
...
} @ inputs:
let let
systems = [ systems = [
"x86_64-linux" "x86_64-linux"

View File

@ -1,9 +1,12 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Bootloader # Bootloader
boot.loader.grub.enable = true; ##boot.loader.grub.enable = true; # BIOS
boot.loader.grub.device = "/dev/nvme0n1"; #boot.loader.systemd-boot.enable = true; # UEFI
boot.loader.grub.useOSProber = true; ##boot.loader.grub.device = "/dev/nvme0n1"; # BIOS
#boot.loader.grub.device = "nodev"; # if UEFI + GRUB
#boot.loader.grub.efiSupport = true; # if UEFI + GRUB
#boot.loader.grub.useOSProber = true; # alongside other OSes
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix