Add aarch64 home manager option

This commit is contained in:
Jimbo 2025-02-28 15:00:12 -05:00
parent 1b61e506f0
commit 5712f3bc44
2 changed files with 7 additions and 4 deletions

View file

@ -68,7 +68,10 @@
rubble = mkNix [ ./hosts/rubble ]; # ROCKPro64 SBC rubble = mkNix [ ./hosts/rubble ]; # ROCKPro64 SBC
}; };
# home-manager switch --flake /etc/nixos#username # home-manager switch --flake /etc/nixos#arch
homeConfigurations."main" = mkHome [ ./modules/home ] nixpkgs.legacyPackages.x86_64-linux; homeConfigurations = {
x86 = mkHome [ ./modules/home ] nixpkgs.legacyPackages.x86_64-linux;
aarch = mkHome [ ./modules/home ] nixpkgs.legacyPackages.aarch64-linux;
};
}; };
} }

View file

@ -10,7 +10,7 @@
]; ];
options.system = with lib; { options.system = with lib; {
desktop.enable = lib.mkEnableOption "Enable desktop apps and services"; desktop.enable = mkEnableOption "Enable desktop apps and services";
server.enable = lib.mkEnableOption "Enable server apps and services"; server.enable = mkEnableOption "Enable server apps and services";
}; };
} }