69 lines
1.5 KiB
Nix
69 lines
1.5 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
# Environments
|
|
../environments/plasma.nix # KDE/Plasma
|
|
# ../environments/hyprland.nix # Todo
|
|
|
|
# Package sets
|
|
../sets/base/common.nix
|
|
../sets/drivers/nvidia.nix
|
|
../sets/drivers/tablet.nix
|
|
../sets/base/devel.nix
|
|
../sets/graphics/art.nix
|
|
../sets/graphics/video.nix
|
|
];
|
|
|
|
# Bootloader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
# Hostname
|
|
networking.hostName = "nixos";
|
|
|
|
# Networking
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Timezone
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
# Locale
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
console.keyMap = "uk";
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "de_DE.UTF-8";
|
|
LC_IDENTIFICATION = "de_DE.UTF-8";
|
|
LC_MEASUREMENT = "de_DE.UTF-8";
|
|
LC_MONETARY = "de_DE.UTF-8";
|
|
LC_NAME = "de_DE.UTF-8";
|
|
LC_NUMERIC = "de_DE.UTF-8";
|
|
LC_PAPER = "de_DE.UTF-8";
|
|
LC_TELEPHONE = "de_DE.UTF-8";
|
|
LC_TIME = "de_DE.UTF-8";
|
|
};
|
|
|
|
services.xserver = {
|
|
layout = "gb";
|
|
xkbVariant = "";
|
|
};
|
|
|
|
# Nvidia
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.opengl.enable = true;
|
|
hardware.nvidia.modesetting.enable = true;
|
|
|
|
# Enable audio
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
}
|
|
|