From fe75399bfe1d0822b567bd98e6dde5985c7008d3 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 31 Aug 2023 15:24:08 +0200 Subject: [PATCH] refactor --- yodaTab/configuration.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/yodaTab/configuration.nix b/yodaTab/configuration.nix index 038cd5b..62f938a 100644 --- a/yodaTab/configuration.nix +++ b/yodaTab/configuration.nix @@ -24,19 +24,20 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - # Setup keyfile + # Setup keyfile. boot.initrd.secrets = { "/crypto_keyfile.bin" = null; }; - networking.hostName = "yodaTab"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.hostName = "yodaTab"; + # Enables wireless support via wpa_supplicant. + # networking.wireless.enable = true; - # Configure network proxy if necessary + # 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 + # Enable networking. networking.networkmanager.enable = true; # Set your time zone. @@ -64,13 +65,13 @@ services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; - # Configure keymap in X11 + # Configure keymap in X11. services.xserver = { layout = "de"; xkbVariant = "nodeadkeys"; }; - # Configure console keymap + # Configure console keymap. console.keyMap = "de-latin1-nodeadkeys"; # Enable sound with pipewire. @@ -82,7 +83,7 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # If you want to use JACK applications, uncomment this + # If you want to use JACK applications, uncomment this. #jack.enable = true; # Use the example session manager (no others are packaged yet so this is enabled by default, @@ -93,7 +94,7 @@ # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; - # Allow unfree packages + # Allow unfree packages. nixpkgs.config.allowUnfree = true; # https://nixos.wiki/wiki/Command_Shell @@ -111,7 +112,7 @@ ]; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ - # Nix dependency management + # Nix dependency management. niv ]; };