summaryrefslogtreecommitdiff
path: root/modules/hosts/libreX60/configuration.nix
blob: 9c83a4239de6ce8190e0c2bea5c34a8332693964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, lib, pkgs, ... }: {
	imports = [
		./hardware-configuration.nix
		./powertop-auto-tune.nix
		../../nixos/archetypes/tjkeller
		# Uncomment this module and reboot to enable bios flashing
		#./bios-flashing.nix
	];

	# Use grub
	boot._loader = {
		enable = true;
		loader = "grub";
		mode = "bios";
		grub.biosDevice = "/dev/sda";
	};

	# Use libre kernel
	boot.kernelPackages = pkgs.linuxPackages-libre;

	# i915 Gpu requires intel driver
	services.xserver.videoDrivers = [ "intel" ];

	system.stateVersion = "24.11";
}