29 lines
699 B
Nix
29 lines
699 B
Nix
|
# Edit this configuration file to define what should be installed on
|
|||
|
# your system. Help is available in the configuration.nix(5) man page
|
|||
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|||
|
|
|||
|
{ config, pkgs, ... }:
|
|||
|
|
|||
|
{
|
|||
|
imports =
|
|||
|
[
|
|||
|
./router.nix
|
|||
|
];
|
|||
|
|
|||
|
# Use the systemd-boot EFI boot loader.
|
|||
|
boot.loader.systemd-boot.enable = true;
|
|||
|
boot.loader.efi.canTouchEfiVariables = true;
|
|||
|
|
|||
|
# Set your time zone.
|
|||
|
# time.timeZone = "Europe/Amsterdam";
|
|||
|
|
|||
|
networking.hostName = "router03";
|
|||
|
networking.domain = "internal.rz.ens.wtf";
|
|||
|
|
|||
|
services.getty.autologinUser = "root";
|
|||
|
services.openssh.enable = true;
|
|||
|
|
|||
|
system.stateVersion = "24.05"; # Did you read the comment?
|
|||
|
}
|
|||
|
|