summaryrefslogtreecommitdiff
path: root/modules/hosts/T430/configuration.nix
blob: a8744ba06e12799f19a488c2578136693f327acc (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
{ config, lib, pkgs, ... }: {
	imports = [ ./hardware-configuration.nix ];
	networking.hostName = "T430";

	# Define a user account. Don't forget to set a password with ‘passwd’.
	users.users.timmy = {
		description = "Tim Keller";
		isNormalUser = true;
		extraGroups = [ "wheel" "docker" ]; # Enable ‘sudo’ for the user.
		packages = with pkgs; [
		];
	};

	# TODO this does not function
	boot.initrd.systemd.extraBin = {
		sh = "${pkgs.dash}/bin/dash";
		vim = "${pkgs.neovim}/bin/nvim";
	};

	# Open ports in the firewall.
	# networking.firewall.allowedTCPPorts = [ ... ];
	# networking.firewall.allowedUDPPorts = [ ... ];
	# Or disable the firewall altogether.
	# networking.firewall.enable = false;

	system.stateVersion = "24.05";
}