49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{ pkgs, ...}:
|
|
|
|
{
|
|
# Enable sound with pipewire.
|
|
services.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
users.users.admin = {
|
|
isNormalUser = true;
|
|
extraGroups = [
|
|
#"networkmanager"
|
|
"wheel"
|
|
"adbusers" # adb
|
|
"kvm" # virt
|
|
"networkmanager"
|
|
"lp" #printing
|
|
];
|
|
};
|
|
|
|
# Select internationalisation properties.
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "en_GB.UTF-8";
|
|
LC_IDENTIFICATION = "en_GB.UTF-8";
|
|
LC_MEASUREMENT = "en_GB.UTF-8";
|
|
LC_MONETARY = "en_GB.UTF-8";
|
|
LC_NAME = "en_GB.UTF-8";
|
|
LC_NUMERIC = "en_GB.UTF-8";
|
|
LC_PAPER = "en_GB.UTF-8";
|
|
LC_TELEPHONE = "en_GB.UTF-8";
|
|
LC_TIME = "en_GB.UTF-8";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
lm_sensors
|
|
iotop
|
|
dmidecode
|
|
];
|
|
|
|
# enable developer documenation
|
|
documentation.dev.enable = true;
|
|
} |