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
2023-06-26 20:08:55 +08:00

28 lines
658 B
Nix

# 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;
#boot.loader.systemd-boot.enable = true;
#boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub = {
configurationLimit = 2;
efiSupport = true;
device = "nodev";
};
# Use xanmod kernel
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
}