mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add base-efi.nix and base-bios.nix
This commit is contained in:
parent
afc01e37bd
commit
cef305fef3
@ -6,6 +6,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-bios.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/ntfs.nix
|
||||
../../modules/ssh-fde-unlock.nix
|
||||
@ -36,6 +37,9 @@
|
||||
yoda.btrfsFileSystems = ["/"];
|
||||
#yoda.btrfsMounts = yoda.btrfsFileSystems;
|
||||
|
||||
# BIOS
|
||||
boot.loader.grub.devices = ["/dev/disk/by-uuid/c033a402-8616-4aa7-922e-556f60a64a6c"];
|
||||
|
||||
# List all available kernel versions:
|
||||
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
|
||||
# Default.
|
||||
|
@ -7,6 +7,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/headless.nix
|
||||
|
||||
../../modules/ssh-fde-unlock.nix
|
||||
|
@ -7,6 +7,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/headless.nix
|
||||
|
||||
../../modules/ssh-fde-unlock.nix
|
||||
|
@ -6,6 +6,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/ntfs.nix
|
||||
../../modules/git.nix
|
||||
|
@ -6,6 +6,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/power-management.nix
|
||||
../../modules/tuxedo-rs.nix
|
||||
../../modules/ntfs.nix
|
||||
|
@ -7,6 +7,7 @@
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/base.nix
|
||||
../../modules/base-efi.nix
|
||||
../../modules/headless.nix
|
||||
|
||||
../../modules/ssh-fde-unlock.nix
|
||||
|
10
modules/base-bios.nix
Normal file
10
modules/base-bios.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# Bootloader.
|
||||
boot.loader.grub = {
|
||||
# This has to be filled out in config.nix:
|
||||
# devices = [ "/dev/disk/by-uuid/..." ];
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
}
|
6
modules/base-efi.nix
Normal file
6
modules/base-efi.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
@ -14,10 +14,6 @@
|
||||
# Allow unfree packages.
|
||||
nixpkgs.config.allowUnfree = false;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Enables wireless support via wpa_supplicant.
|
||||
# networking.wireless.enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user