|
9 | 9 | [ # Include the results of the hardware scan.
|
10 | 10 | ./hardware-configuration.nix
|
11 | 11 | ];
|
12 |
| - # Use the GRUB 2 boot loader. |
13 |
| - boot.loader.grub.enable = true; |
14 |
| - boot.loader.grub.version = 2; |
15 |
| - # boot.loader.grub.efiSupport = true; |
16 |
| - # boot.loader.grub.efiInstallAsRemovable = true; |
17 |
| - # boot.loader.efi.efiSysMountPoint = "/boot/efi"; |
18 |
| - # Define on which hard drive you want to install Grub. |
19 |
| - # boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only |
20 |
| - |
21 |
| - networking.hostName = ""; # Define your hostname. |
22 |
| - |
23 |
| - # Select internationalisation properties. |
24 |
| - # i18n = { |
25 |
| - # consoleFont = "Lat2-Terminus16"; |
26 |
| - # consoleKeyMap = "us"; |
27 |
| - # defaultLocale = "en_US.UTF-8"; |
28 |
| - # }; |
29 |
| - |
30 |
| - # Set your time zone. |
31 |
| - # time.timeZone = "Europe/Amsterdam"; |
32 |
| - |
| 12 | + |
33 | 13 | # List packages installed in system profile. To search, run:
|
34 | 14 | # $ nix search wget
|
35 | 15 | environment.systemPackages = with pkgs; [
|
36 |
| - netcat-gnu |
37 |
| - wget |
38 |
| - vim |
39 |
| - ]; |
40 |
| - |
41 |
| - # Define a user account. Don't forget to set a password with ‘passwd’. |
42 |
| - # users.extraUsers.guest = { |
43 |
| - # isNormalUser = true; |
44 |
| - # uid = 1000; |
45 |
| - # }; |
46 |
| - |
47 |
| - services.openssh = { |
48 |
| - enable = true; |
49 |
| - startWhenNeeded = true; |
50 |
| - }; |
| 16 | + wget |
| 17 | + vim |
| 18 | + ]; |
51 | 19 |
|
52 |
| - systemd.services."serial-getty@ttyS0".enable = true; |
| 20 | + # Use the GRUB 2 boot loader. |
| 21 | + boot.loader.grub.enable = true; |
| 22 | + boot.loader.grub.version = 2; |
53 | 23 | boot.loader.grub.device = "/dev/sda3";
|
54 | 24 | boot.loader.grub.forceInstall = true;
|
55 | 25 |
|
|
59 | 29 | terminal_input serial;
|
60 | 30 | terminal_output serial
|
61 | 31 | '';
|
| 32 | + systemd.services."serial-getty@ttyS0".enable = true; |
62 | 33 |
|
| 34 | + networking.hostName = ""; # Dhcp will set hostname |
63 | 35 | networking.firewall.enable = false;
|
| 36 | + |
| 37 | + # Set your time zone. |
| 38 | + time.timeZone = "Europe/Paris"; |
| 39 | + |
| 40 | + services.openssh = { |
| 41 | + enable = true; |
| 42 | + startWhenNeeded = true; |
| 43 | + }; |
| 44 | + |
64 | 45 |
|
65 | 46 | # This value determines the NixOS release with which your system is to be
|
66 | 47 | # compatible, in order to avoid breaking some software such as database
|
|
0 commit comments