summaryrefslogtreecommitdiff
path: root/hosts/gnuslashprinter/configuration.nix
blob: 9e1f73479a6f8d590044f956f647375db00e9490 (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
{
	imports = [
		./flask-relay-ctl.nix
		./klipper.nix
	];

	boot._loader.enable = true;

	_archetypes = {
		profiles = {
			headless = {
				enable = true;
				home.users.timmy.enable = true;
			};
			btrfs.enable = true;
		};
	};

	# Enable user timmy
	_users.timmy.enable = true;

	# Name devices
	services.udev.extraRules = ''
		SUBSYSTEM=="tty", KERNELS=="3-9", SYMLINK+="gsp-power"
		SUBSYSTEM=="tty", KERNELS=="3-10", SYMLINK+="gsp-control"
	'';

	system.stateVersion = "25.11";
}