let systems be systems

This commit is contained in:
Daniel Flanagan 2023-10-06 00:56:04 -05:00
parent cd6d44121d
commit 70b67e1c36
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -122,14 +122,18 @@
# Available through 'home-manager --flake .#your-username@your-hostname' # Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = { homeConfigurations = {
# TODO: non-system-specific home configurations? # TODO: non-system-specific home configurations?
"base-x86_64-linux" = home-manager.lib.homeManagerConfiguration rec { "base-x86_64-linux" = let
system = "x86_64-linux"; system = "x86_64-linux";
in
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs-unstable.legacyPackages.${system}; pkgs = nixpkgs-unstable.legacyPackages.${system};
extraSpecialArgs = {inherit inputs outputs system colors font;}; extraSpecialArgs = {inherit inputs outputs system colors font;};
modules = with outputs.homeManagerModules; [linux]; modules = with outputs.homeManagerModules; [linux];
}; };
"base-aarch64-darwin" = home-manager.lib.homeManagerConfiguration rec { "base-aarch64-darwin" = let
system = "aarch64-darwin"; system = "aarch64-darwin";
in
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs-unstable.legacyPackages.${system}; pkgs = nixpkgs-unstable.legacyPackages.${system};
extraSpecialArgs = {inherit inputs outputs system colors font;}; extraSpecialArgs = {inherit inputs outputs system colors font;};
modules = with outputs.homeManagerModules; [macos]; modules = with outputs.homeManagerModules; [macos];