diff options
Diffstat (limited to 'ilex/configuration.nix')
-rw-r--r-- | ilex/configuration.nix | 33 |
1 files changed, 33 insertions, 0 deletions
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"; + +} + |