summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/configuration.nix28
1 files changed, 4 insertions, 24 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 96e0c82..c887c72 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -1,33 +1,22 @@
-# 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’).
+# See the configuration.nix(5) man page and the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }:
{
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
+ imports = [
+ ./hardware-configuration.nix
+ ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos"; # Define your hostname.
- # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
-
- # Configure network proxy if necessary
- # networking.proxy.default = "http://user:password@proxy:port/";
- # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
- # Enable networking
networking.networkmanager.enable = true;
- # Set your time zone.
time.timeZone = "Europe/Vienna";
- # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
@@ -42,13 +31,6 @@
LC_TIME = "en_US.UTF-8";
};
- # Configure keymap in X11
- services.xserver.xkb = {
- layout = "us";
- variant = "colemak_dh";
- };
-
- # Define a user account. Don't forget to set a password with ‘passwd’.
users.users.martin = {
isNormalUser = true;
description = "Martin";
@@ -59,8 +41,6 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
- # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
- # wget
];
# Some programs need SUID wrappers, can be configured further or are