summaryrefslogtreecommitdiff
path: root/modules/hosts/libreX60/configuration.nix
blob: 55f17746dc24a6a39fb7d66572dde4ecb97fdda6 (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
26
{ config, lib, pkgs, ... }: {
	imports = [
		./hardware-configuration.nix
		./powertop-auto-tune.nix
		# Uncomment this module and reboot to enable bios flashing
		#./bios-flashing.nix
	];

	# Use grub
	bootloader = {
		loader = "grub";
		mode = "bios";
		grub.biosDevice = "/dev/sda";
	};

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

	# Enable network drives
	nas.enable = true;

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

	system.stateVersion = "24.11";
}