Browse Source

Initial commit

Sven Slootweg 1 year ago
commit
28885995e9
2 changed files with 42 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 41 0
      data/dummy-configuration.nix

+ 1 - 0
.gitignore

@ -0,0 +1 @@
1
notes

+ 41 - 0
data/dummy-configuration.nix

@ -0,0 +1,41 @@
1
{ config, pkgs, ... }:
2
	{
3
		imports = [
4
			# Include the results of the hardware scan.
5
			./hardware-configuration.nix
6
		];
7
8
		boot.loader.grub.enable = true;
9
		boot.loader.grub.version = 2;
10
		boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
11
12
		i18n = {
13
			consoleFont = "Lat2-Terminus16";
14
			consoleKeyMap = "us";
15
			defaultLocale = "en_US.UTF-8";
16
		};
17
18
		# Set your time zone.
19
		time.timeZone = "Europe/Amsterdam";
20
21
		environment.systemPackages = with pkgs; [
22
			wget
23
			curl
24
			htop
25
			iotop
26
			iftop
27
			nload
28
		];
29
30
		services.openssh = {
31
			enable = true;
32
			passwordAuthentication = false;
33
			permitRootLogin = "yes";
34
		};
35
36
		users.users.root.openssh.authorizedKeys.keys = [
37
			"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzV5dI01NhwuL6ayiO0STcSQiDf7lEtu63NuLZKQUdZVuVHIqyt3Gquks2OI1NZGrJdXA315yw89ZqyMo+z7gSGHEV6P0fAXKW6G78JOFWsA5lGpaLxTsZ6Q7r0Z9FMqDvA5Jlsyznyj9hhO1cz01WPLzB92ypd9ifldtrAQIYQItxGXOuRkBJiShuIRqtr4Q2chXiOoRZKb4v4Gyt/UPxTpvfM/zcOz0zi1d4ijSbLqgIUJhxvrWADfdgEQ77unepDoD+HT51QBX7dj8RuYivxLSA3vpfNeCgt2CYBf6FYnmWkWSnN1RCtQPJNxsMuLzC2ZBbIkz0tDgcIBPbHxGr sven@linux-rfa7.site"
38
		];
39
40
		system.stateVersion = "19.03";
41
	}