This commit is contained in:
Daniel Langbein 2023-08-31 15:24:08 +02:00
parent 89142eedd0
commit fe75399bfe

View File

@ -24,19 +24,20 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Setup keyfile # Setup keyfile.
boot.initrd.secrets = { boot.initrd.secrets = {
"/crypto_keyfile.bin" = null; "/crypto_keyfile.bin" = null;
}; };
networking.hostName = "yodaTab"; # Define your hostname. networking.hostName = "yodaTab";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # 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.default = "http://user:password@proxy:port/";
#networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; #networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking.
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Set your time zone. # Set your time zone.
@ -64,13 +65,13 @@
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11 # Configure keymap in X11.
services.xserver = { services.xserver = {
layout = "de"; layout = "de";
xkbVariant = "nodeadkeys"; xkbVariant = "nodeadkeys";
}; };
# Configure console keymap # Configure console keymap.
console.keyMap = "de-latin1-nodeadkeys"; console.keyMap = "de-latin1-nodeadkeys";
# Enable sound with pipewire. # Enable sound with pipewire.
@ -82,7 +83,7 @@
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = 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; #jack.enable = true;
# Use the example session manager (no others are packaged yet so this is enabled by default, # 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). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Allow unfree packages # Allow unfree packages.
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# https://nixos.wiki/wiki/Command_Shell # https://nixos.wiki/wiki/Command_Shell
@ -111,7 +112,7 @@
]; ];
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; [
# Nix dependency management # Nix dependency management.
niv niv
]; ];
}; };