42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ pkgs, lib, config, systemSettings, userSettings, ... }:
|
|
{
|
|
imports = [
|
|
../system/hardware/audio.nix
|
|
../system/hardware/time.nix
|
|
../system/services/network-manager.nix
|
|
../system/utils.nix
|
|
];
|
|
|
|
time.timeZone = systemSettings.timezone;
|
|
|
|
networking.hostName = systemSettings.hostname;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
i18n.defaultLocale = systemSettings.locale;
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = systemSettings.locale;
|
|
LC_IDENTIFICATION = systemSettings.locale;
|
|
LC_MEASUREMENT = systemSettings.locale;
|
|
LC_MONETARY = systemSettings.locale;
|
|
LC_NAME = systemSettings.locale;
|
|
LC_NUMERIC = systemSettings.locale;
|
|
LC_PAPER = systemSettings.locale;
|
|
LC_TELEPHONE = systemSettings.locale;
|
|
LC_TIME = systemSettings.locale;
|
|
};
|
|
|
|
users.users.${userSettings.username} = {
|
|
isNormalUser = true;
|
|
description = userSettings.name;
|
|
extraGroups = [ "networkmanager" "wheel" "docker" "podman" "input" "flatpak" "dialout" "video" "input" "audio" "libvirtd" ];
|
|
packages = with pkgs; [];
|
|
uid = 1000;
|
|
};
|
|
|
|
environment.shells = with pkgs; [ bash ];
|
|
users.defaultUserShell = pkgs.bash;
|
|
}
|