2022-08-01 21:11:10 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./home-manager.nix
|
|
|
|
];
|
2022-08-05 13:59:38 +00:00
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
console = {
|
|
|
|
earlySetup = true;
|
|
|
|
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
|
|
|
|
packages = with pkgs; [ terminus_font ];
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
virtualisation = {
|
|
|
|
libvirtd.enable = true;
|
|
|
|
docker.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
i18n = {
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
supportedLocales = [
|
|
|
|
"en_US.UTF-8/UTF-8"
|
|
|
|
"nl_NL.UTF-8/UTF-8"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.sijmen = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "libvirtd" ];
|
2022-08-05 14:44:13 +00:00
|
|
|
description = "Sijmen";
|
2022-08-05 13:59:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
pipewire.enable = true;
|
|
|
|
printing.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
usbmuxd.enable = true;
|
|
|
|
|
|
|
|
openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
user = "sijmen";
|
|
|
|
dataDir = config.users.users.sijmen.home;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fonts = with pkgs; [
|
2022-08-08 00:11:12 +00:00
|
|
|
nerdfonts
|
2022-08-05 13:59:38 +00:00
|
|
|
noto-fonts
|
|
|
|
noto-fonts-cjk
|
|
|
|
noto-fonts-emoji
|
2022-08-08 00:11:12 +00:00
|
|
|
powerline-fonts
|
2022-08-05 13:59:38 +00:00
|
|
|
];
|
2022-08-01 21:11:10 +00:00
|
|
|
}
|