2023-02-01 13:31:56 +00:00
|
|
|
# General system configuration.
|
|
|
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
supportedFilesystems = [ "ntfs" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
console = {
|
|
|
|
keyMap = "be-latin1";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment = {
|
|
|
|
extraOutputsToInstall = [ "dev" ];
|
|
|
|
shells = [ pkgs.zsh ];
|
|
|
|
};
|
|
|
|
|
2023-02-11 10:02:42 +00:00
|
|
|
fonts = {
|
|
|
|
fontconfig = {
|
|
|
|
defaultFonts = {
|
|
|
|
emoji = [ "Noto Color Emoji" ];
|
|
|
|
monospace = [ "Hasklig" "Victor Mono" "DejaVu Sans Mono" ];
|
|
|
|
sansSerif = [ "Inter" "DejaVu Sans" ];
|
|
|
|
serif = [ "Inter" "DejaVu Sans" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts = with pkgs; [
|
|
|
|
hasklig
|
|
|
|
inter
|
|
|
|
iosevka
|
|
|
|
noto-fonts
|
|
|
|
victor-mono
|
|
|
|
(nerdfonts.override { fonts = [ "Hasklig" ]; })
|
|
|
|
];
|
|
|
|
};
|
2023-02-01 13:31:56 +00:00
|
|
|
|
|
|
|
hardware = {
|
|
|
|
opengl = {
|
|
|
|
driSupport32Bit = true;
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
opentabletdriver = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
pulseaudio = {
|
|
|
|
enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i18n = {
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "stardust";
|
|
|
|
networkmanager.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
security = {
|
|
|
|
rtkit.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
sound = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
time = {
|
|
|
|
timeZone = "Europe/Brussels";
|
|
|
|
};
|
|
|
|
}
|