summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
blob: 49db2ae898e36e64d2078a6d36849b367fb52609 (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
39
40
41
{
	config,
	modulesPath,
	pkgs,
	...
}: {
	imports = [
		(modulesPath + "/profiles/minimal.nix")
		../common
		./packages.nix
		../../users/seth
	];

	# enable non-free packages
	nixpkgs.config.allowUnfree = true;

	# Enable nix flakes
	nix.package = pkgs.nixFlakes;
	nix.settings.experimental-features = ["nix-command" "flakes"];

	system.stateVersion = "22.11";

	# hardware = {
	#   nvidia.package = boot.kernelPackages.nvidiaPackages.stable;
	#   xserver = {
	#     videoDrivers = [ "nvidia" ];
	#   };
	#   opengl.enable = true;
	# };

	networking.hostName = "glados-wsl";

	programs = {
		gnupg = {
			agent = {
				enable = true;
				pinentryFlavor = "curses";
			};
		};
	};
}