Add aarch64 home manager option
This commit is contained in:
parent
1b61e506f0
commit
5712f3bc44
2 changed files with 7 additions and 4 deletions
|
@ -68,7 +68,10 @@
|
|||
rubble = mkNix [ ./hosts/rubble ]; # ROCKPro64 SBC
|
||||
};
|
||||
|
||||
# home-manager switch --flake /etc/nixos#username
|
||||
homeConfigurations."main" = mkHome [ ./modules/home ] nixpkgs.legacyPackages.x86_64-linux;
|
||||
# home-manager switch --flake /etc/nixos#arch
|
||||
homeConfigurations = {
|
||||
x86 = mkHome [ ./modules/home ] nixpkgs.legacyPackages.x86_64-linux;
|
||||
aarch = mkHome [ ./modules/home ] nixpkgs.legacyPackages.aarch64-linux;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
];
|
||||
|
||||
options.system = with lib; {
|
||||
desktop.enable = lib.mkEnableOption "Enable desktop apps and services";
|
||||
server.enable = lib.mkEnableOption "Enable server apps and services";
|
||||
desktop.enable = mkEnableOption "Enable desktop apps and services";
|
||||
server.enable = mkEnableOption "Enable server apps and services";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue