summaryrefslogtreecommitdiff
path: root/modules/hosts/T495/configuration.nix
blob: 31b93f1af5b976cf194900ef542683784c5a38a8 (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
27
28
29
30
31
32
33
34
35
36
37
38
{ config, lib, pkgs, ... }: {
	imports = [
		./hardware-configuration.nix
		./games.nix
		./wg.nix
	];
	networking.hostName = "T495";

	# Use systemd-boot instead of grub
	# grub does not recognize fs
	grub.enable = false;
	boot.loader = {
		systemd-boot.enable = true;
		efi.canTouchEfiVariables = true;
	};

	# Enable extra software pkgs
	software = {
		desktop.extra.enable = true;
		dev.extra.enable = true;
	};
	environment.systemPackages = with pkgs; [
		input-leap
	];
	docker.enable = true;

	# Enable network drives
	fs.networkFS.enable = true;

	networking.hosts = {
		"192.168.77.3"  = [ "devel" ];
	};

	# Use amdgpu driver for x11
	services.xserver.videoDrivers = [ "amdgpu" ];

	system.stateVersion = "24.05";
}