summaryrefslogtreecommitdiff
path: root/modules/hosts/X230/configuration.nix
blob: accbb1c1013282a7003cab3ccd59d59e9d1ffd38 (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
{ config, lib, pkgs, ... }: {
	imports = [
		./hardware-configuration.nix
		../../nixos/archetypes/tjkeller
	];

	# Setup bootloader
	boot._loader.enable = true;

	# Enable common options
	_archetypes = {
		# Use desktop profile
		profiles.desktop.enable = true;
		# Install software
		collections = {
			desktop = {
				crypto.enable = true;
				graphics.enable = true;
				office.enable = true;
			};
		};
		# Setup user
		users.primary = {
			enable = true;
			autologin.enable = true;
		};
	};

	system.stateVersion = "24.05";
}