{ description = "Evie's machine configurations"; inputs = { # Specify the source of Home Manager and Nixpkgs. nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, home-manager, }: { nixosConfigurations.N0245 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [./configuration.nix]; }; homeConfigurations."tux" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages."aarch64-darwin"; modules = [ ./home/personal.nix ./home/gui/wezterm.nix ({pkgs, ...}: { home.username = "tux"; home.homeDirectory = "/Users/tux"; home.stateVersion = "23.05"; home.packages = [pkgs.gcc]; programs.home-manager.enable = true; programs.zsh = { sessionVariables.CC = "${pkgs.gcc}/bin/gcc"; envExtra = '' eval "$(/opt/homebrew/bin/brew shellenv)" ''; }; services.syncthing.enable = true; }) ]; }; }; }