{ inputs, config, pkgs, lib, currentSystem, ... }: let NIXPKGS_PATH = lib.cleanSource pkgs.path; in { imports = (builtins.concatLists [ [ ../../modules ./programs inputs.lix-module.nixosModules.default ] (if (currentSystem == "x86_64-linux") then [ inputs.home-manager.nixosModules.home-manager ../linux ] else []) (if (currentSystem == "aarch64-darwin") || (currentSystem == "x86_64-darwin") then [ inputs.home-manager.darwinModules.home-manager ../darwin ] else []) ]); time.timeZone = "Europe/Berlin"; home-manager.useGlobalPkgs = true; home-manager.users.katja.home.sessionVariables = { NIXPKGS_PATH = NIXPKGS_PATH; NIX_PATH = "nixpkgs=${NIXPKGS_PATH}"; }; environment.systemPackages = with pkgs; [ alacritty.terminfo ]; nix = { nixPath = lib.mkForce [ "nixpkgs=${NIXPKGS_PATH}" ]; settings = { trusted-users = [ "root" "katja" "@wheel" ]; experimental-features = [ "nix-command" "flakes" ]; extra-substituters = [ "https://cache.lix.systems" ]; trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ]; }; }; }