{ lib, config, ... }: with lib; let cfg = config.mySystem.misc; in { imports = [ ./boot ./desktop ./dev ./hardware ./i18n ./network ./packages ./security ./services ./users ]; options.mySystem.misc = { timezone = mkOption { type = types.str; default = "Europe/Paris"; }; keymap = mkOption { type = types.str; default = "fr"; example = "fr-bepo"; description = "Keymap to use in the TTY console"; }; }; config = { boot.tmp.cleanOnBoot = true; console.keyMap = cfg.keymap; time.timeZone = cfg.timezone; environment.pathsToLink = [ "/share/bash-completion" "/share/zsh" ]; services = { orca.enable = false; envfs.enable = true; }; nix.settings = { substituters = [ "https://nix-community.cachix.org?priority=10" "https://devenv.cachix.org?priority=20" "https://phundrak.cachix.org?priority=30" "https://cache.nixos.org?priority=40" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" "phundrak.cachix.org-1:osJAkYO0ioTOPqaQCIXMfIRz1/+YYlVFkup3R2KSexk=" ]; http-connections = 128; experimental-features = [ "nix-command" "flakes" ]; }; }; }