Move bootloader config info flake.nix
This commit is contained in:
parent
626a8508da
commit
90c066fc7a
|
@ -134,6 +134,10 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
stylix.nixosModules.stylix
|
||||
({ pkgs, ... }: {
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
programs.${shell}.enable = true;
|
||||
system = { inherit stateVersion; };
|
||||
networking = { inherit hostName; };
|
||||
|
|
|
@ -9,9 +9,6 @@ let
|
|||
vpn-dev = "tun0";
|
||||
port = 1194;
|
||||
in {
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
users.mutableUsers = false;
|
||||
system.autoUpgrade = {
|
||||
allowReboot = lib.mkForce true;
|
||||
|
|
|
@ -1,7 +1 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
||||
{ config, pkgs, ... }: { }
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ config, lib, pkgs, ... }: {
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Setup keyfile
|
||||
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
# Setup keyfile
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ ... }: {
|
||||
{ ... }:
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
{
|
||||
services.syncthing.settings.folders = {
|
||||
"Archive".enable = false;
|
||||
"Books".enable = false;
|
||||
|
|
Loading…
Reference in a new issue