summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-11-29 06:22:13 +0100
committerMartin Fischer <martin@push-f.com>2024-12-11 08:32:27 +0100
commit10ef42ae9d4a60dea161bae495ec1f09c8388617 (patch)
treeb5726001247b8923ba0abf201e773e2c1368f0e2 /nixos
parent28985997fcc6ccd9d475a98141b1ac35066a83c7 (diff)
clean up configuration.nix
Diffstat (limited to 'nixos')
-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