This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/configuration.nix

34 lines
759 B
Nix
Raw Normal View History

# NixOS configurations file.
{config, pkgs, lib,...}: {
system.stateVersion = "23.05";
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
# User custom configurations.
./global
];
boot.plymouth.enable = true;
2023-06-26 12:08:55 +00:00
#boot.loader.systemd-boot.enable = true;
#boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.efi.canTouchEfiVariables = true;
2023-06-26 12:41:45 +00:00
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
2023-06-26 12:08:55 +00:00
boot.loader.grub = {
configurationLimit = 2;
efiSupport = true;
device = "nodev";
2023-06-26 12:41:45 +00:00
mirroredBoots = [
{
devices = [ "nodev" ];
path = "/boot";
}
];
2023-06-26 12:08:55 +00:00
};
# Use xanmod kernel
2023-06-25 23:12:37 +00:00
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
}