I'm going to clean this up soon as well as the conditionals etc.
D34IHX4LZP3KRI7PNXYOMJS66EIESOXLUJNPALTBCMRMQA5EOVCAC WMG2YNWEKFK4DMH3AZP5WSGJ4K66OUHXGK4KPHOW2JNU57DVS42QC HWCVAVGHMRTGNMV7WXWM6XB6KMMZQCMZQXWHQV4MPKXZOCAOGXKAC UH6ZL2HFCGZTK5LBAIWXYWP7F7ZO5ZY3OLHVCY6DOCDSH6ATSILQC MQT74AV47PUYNCX27OMFK6BFN7PP4DX46JAACN2EPRYXUXV7EL3AC YVII7NUI5Z6DPUDQZG2ZVJ6QNQRCEUYX5547IYCMPZI7GJ3GDZQAC YLW6ZFTIGIC2V6ZUA3I2T7MMPW5BZCOORLB2WSJYNUB3AGWLSEKQC OPVLEXF5H3CHSU43PIQ4M75UAE3UIKQ5WTVYUOD4M7MPUHLP26LQC DEDLAAWWX2GNYW5AG53E4HYVIZ7VY47UQJDI632A77T3B4WTL4QQC VLQ45OFB6Q2PBFEV2LCV2UINWGUL5YFD4MJ3PWP464VZWLD75HAQC HYWEG52CLGAF54BUZO53SGBVT6UKVPMW2BN5WX35OJSJ4RW4F6RAC EI6RKRFQK7NXVUAD675ZYCC6VS5LMDKLYFW3IP35LZ37XPCSLCXQC EOAV3J3R7X5GJGKGGBBRIU3GPHRAV6ZOYFPLIY4VSUWCPETWLJUQC UBB7TTAXVPQQCOVHACKWXSPV2NPARSHREYJB6J3RSEDZZIXPFGOAC ADJBSSJQYK6JNUKKP4AOQWLBIXR2DUMBRWTGXJKZASF6M2BSFYCQC V2RX2Y7VB7Y3BHX3ALK4GTCMFJATMLCKIAT4U3XCYZZZIUBIIZ5QC 6KKLYLEP3IUF3NWXB6OO5C2X75S4U5OK7E2L7HIWWC3P7FG62EZAC flake.modules.darwin.theme ={ pkgs, ... }:lettheme = mkThemeConfig { inherit pkgs; };in{options.theme = mkOption {type = attrs;default = { };description = "Global theme configuration";};config = {theme = theme.designSystem // {inherit (theme)themesisDarkcolorSchemevariantcolors;withHash = mapAttrs (_name: value: "#${value}") theme.colors;with0x = mapAttrs (_name: value: "0x${value}") theme.colors;withRgb = mapAttrs (_name: value: theme.hexToRgb value) theme.colors;icons = theme.getTheme "icons";alacritty = theme.getTheme "alacritty";ghostty = theme.getTheme "ghostty";rio = theme.getTheme "rio";zellij = theme.getTheme "zellij";starship = theme.getTheme "starship";vivid = theme.getTheme "vivid";nushell = theme.getTheme "nushell";helix = theme.getTheme "helix";gtk = theme.getTheme "gtk";qt = theme.getTheme "qt";font = {size.tiny = 10;size.small = 12;size.term = 12;size.normal = 16;size.big = 20;mono.name = "Maple Mono NF";mono.family = "Maple Mono";mono.package = pkgs.maple-mono.NF;sans.name = "Lexend";sans.family = "Lexend";sans.package = pkgs.lexend;};};};};
flake.modules.darwin.openssh = {config = {services.openssh.enable = true;
flake.modules.darwin.openssh = { config, ... }: {services.openssh = {enable = true;extraConfig = # sshd_config''HostKey ${config.age.secrets.id.path}PasswordAuthentication noKbdInteractiveAuthentication noAcceptEnv SHELLS COLORTERM'';
flake.modules.darwin.secret-manager = {imports = [inputs.age.darwinModules.default];};
flake.modules.darwin.secret-manager ={ config, pkgs, ... }:let# Import the agenix-rekey module without the _class attribute.# We need to import it with a wrapper that makes it compatible with darwin.agenixRekeyModule = import (inputs.age-rekey + /modules/agenix-rekey.nix) pkgs;in{imports = [inputs.age.darwinModules.defaultagenixRekeyModule];config.age = {identityPaths = [ "/Users/jam/.ssh/id" ];rekey = {storageMode = "local";masterIdentities = [ ../yubikey.pub ];localStorageDir = ../secrets/rekeyed/${config.networking.hostName};};};};
unfree.allowedNames = ["claude-code""raycast"];
age.rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPeG5tRLj+z0LlAhH60rQuvRarHWuYE+fYMEgPvGbMrW jam@lime";age.secrets = {id.rekeyFile = ../secrets/lime-id.age;s3AccessKey.rekeyFile = ../secrets/s3-access-key.age;s3SecretKey.rekeyFile = ../secrets/s3-secret-key.age;context7Key = {rekeyFile = ../secrets/context7-key.age;owner = "jam";mode = "400";};zaiKey = {rekeyFile = ../secrets/z-ai-key.age;owner = "jam";mode = "400";};};