ref(nix): split macOS into two hosts

This commit is contained in:
Léana 江 2024-02-25 21:55:03 +01:00 committed by Léana 江
parent da607ea5f4
commit d5d47663b0
6 changed files with 29 additions and 2 deletions

View file

@ -3,6 +3,7 @@
inherit (import ./lib.nix inputs) mkNixOS mkHomeManager myPackages formatter;
myConfigs = {
nixosConfigurations = {
# Thinkpad
nixie = mkNixOS "nixie" "x86_64-linux" {
extraLanguageServers = true;
extraUtils = true;
@ -11,13 +12,22 @@
};
};
homeConfigurations = {
"macOS" = mkHomeManager "macOS" "aarch64-darwin" {
# MacBook Pro 2021
"stardust" = mkHomeManager "stardust" "aarch64-darwin" {
extraLanguageServers = true;
extraUtils = true;
enableCmus = true;
universityTools = true;
};
# MacBook Air 2014
"legend" = mkHomeManager "legend" "x86_64-darwin" {
enableCmus = true;
};
# Raspberry Pi 4
"pi4" = mkHomeManager "pi4" "aarch64-linux" {};
# Oracle cloud
"oracle" = mkHomeManager "oracle" "aarch64-linux" {};
};
};