{ inputs, outputs, lib, config, pkgs, variables, ... }: { system.stateVersion = "25.05"; imports = [ ./modules/index.nix ./modules/machines/index.nix ]; nixpkgs = { config = { allowUnfree = true; allowUnfreePredicate = (_: true); }; }; nix = let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; in { settings = { experimental-features = "nix-command flakes"; }; gc = { # garbage collection automatic = true; dates = "weekly"; options = "--delete-older-than 14d"; }; }; boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.luks.devices."luks-ac595b45-1286-49af-9945-1fd203e3c281".device = "/dev/disk/by-uuid/ac595b45-1286-49af-9945-1fd203e3c281"; users.users = { ${variables.username} = { isNormalUser = true; extraGroups = [ "networkmanager" "wheel" "wireshark" ]; shell = pkgs.bash; description= "${variables.userDescription}"; }; }; }