From 0b1434affb2377b1910696163fba9d252683e93f Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Sun, 20 Oct 2024 21:50:41 +0200 Subject: [PATCH] added --- configuration.nix | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 configuration.nix diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..1bb7764 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,48 @@ +{ config, pkgs, ... }: + +{ + # Import other configuration modules + # (hardware-configuration.nix is autogenerated upon installation) + # paths in nix expressions are always relative the file which defines them + imports = + [ + ./hardware-configuration.nix + ./my-dev-tools.nix + ./my-desktop-env.nix + ./etc.nix + ]; + + # Name your host machine + networking.hostName = "desktop.cyperpunk.de"; + + # Set your time zone. + time.timeZone = "Europe/Berlin"; + + # Enter keyboard layout + services.xserver.layout = "de"; + services.xserver.xkbVariant = "altgr-intl"; + + # Define user accounts + users.extraUsers = + { + phil = + { + extraGroups = [ "wheel" "networkmanager" ]; + isNormalUser = true; + }; + }; + + # Install some packages + environment.systemPackages = + with pkgs; + [ + ddate + testdisk + fish + zsh + ]; + + # Enable the OpenSSH daemon + services.openssh.enable = true; + +}