From 709e787915998ab74d8bc1280e6bcee989ec48b8 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 8 Jan 2023 02:00:21 +0100 Subject: init ilex --- ilex/configuration.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ilex/configuration.nix (limited to 'ilex/configuration.nix') diff --git a/ilex/configuration.nix b/ilex/configuration.nix new file mode 100644 index 0000000..a778d21 --- /dev/null +++ b/ilex/configuration.nix @@ -0,0 +1,33 @@ +# 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 = [ + ./hardware-configuration.nix + ]; + + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + networking.hostName = "ilex"; + time.timeZone = "Europe/Amsterdam"; + + services.openssh.enable = true; + services.openssh.permitRootLogin = "yes"; + + networking = { + networkmanager.enable = true; + useDHCP = false; + interfaces = { + enp1s0f0.useDHCP = true; + }; + }; + + system.stateVersion = "22.11"; + +} + -- cgit v1.2.3