{ config, pkgs, ... }: { imports = [ ./home-manager.nix ]; nix = { settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; }; gc = { automatic = true; dates = "daily"; options = "--delete-older-than 14d"; }; }; 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"; }; environment.sessionVariables = rec { MOZ_ENABLE_WAYLAND = "1"; NIXOS_OZONE_WL = "1"; QT_QPA_PLATFORM = "wayland"; SDL_VIDEODRIVER = "wayland"; EDITOR = "nvim"; }; 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" "docker" "wireshark" "video" "dialout" "libvirt" ]; description = "Sijmen"; shell = pkgs.zsh; }; programs.zsh.enable = true; services = { pipewire.enable = true; gvfs.enable = true; usbmuxd.enable = true; smartd.enable = true; pcscd.enable = true; fwupd.enable = true; printing = { enable = true; drivers = with pkgs; [ hplip ]; }; openssh = { enable = true; settings = { PasswordAuthentication = false; }; }; #syncthing = { #enable = true; #user = "sijmen"; #dataDir = config.users.users.sijmen.home; #}; }; fonts.fonts = with pkgs; [ corefonts dejavu_fonts iosevka noto-fonts noto-fonts-cjk noto-fonts-emoji powerline-fonts source-han-sans ubuntu_font_family vistafonts ]; }