2023-07-16 16:43:13 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
description = "ivabus's NixOS Flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-07-29 18:24:43 +03:00
|
|
|
apple-silicon-support.url = "github:tpwrules/nixos-apple-silicon";
|
2023-07-16 16:43:13 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2023-07-29 18:24:43 +03:00
|
|
|
outputs = { self, nixpkgs, home-manager, apple-silicon-support, ... }@inputs: {
|
2023-07-17 07:54:37 +03:00
|
|
|
# Stella = Unchartevice 6540 (Ryzen 3 3250U, 16GB RAM)
|
2023-07-16 16:43:13 +03:00
|
|
|
nixosConfigurations."stella" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-07-28 15:39:50 +03:00
|
|
|
home-manager.nixosModules.home-manager
|
2023-08-22 19:39:11 +03:00
|
|
|
./machines/stella
|
2023-07-16 16:43:13 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-07-28 17:41:32 +03:00
|
|
|
# Vetus = iMac 27" 2017, i5, 64 GB RAM
|
|
|
|
nixosConfigurations."vetus" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
2023-08-23 09:38:48 +03:00
|
|
|
./machines/vetus
|
2023-07-28 17:41:32 +03:00
|
|
|
];
|
|
|
|
};
|
2023-07-29 18:24:43 +03:00
|
|
|
|
2023-07-17 07:54:37 +03:00
|
|
|
# Celerrime = MacBook Air M2
|
2023-07-16 16:43:13 +03:00
|
|
|
nixosConfigurations."celerrime" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
modules = [
|
2023-07-29 18:24:43 +03:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
apple-silicon-support.nixosModules.apple-silicon-support
|
2023-08-23 09:38:48 +03:00
|
|
|
./machines/celerrime
|
2023-07-16 16:43:13 +03:00
|
|
|
];
|
|
|
|
};
|
2023-07-29 18:24:43 +03:00
|
|
|
|
2023-08-31 18:28:25 +03:00
|
|
|
# Raspberry Pi 4B 2GB RAM
|
|
|
|
nixosConfigurations."rubusidaeus" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
modules = [
|
|
|
|
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./machines/rubusidaeus
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-07-29 18:24:43 +03:00
|
|
|
/* These machines will be configured later. */
|
|
|
|
/*
|
2023-07-17 07:54:37 +03:00
|
|
|
# Effundam = MacBook Air M1 (server usage). Will not be added to flake.nix until thunderbolt and apfs proper support
|
|
|
|
nixosConfigurations."effundam" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
modules = [
|
2023-08-23 09:38:48 +03:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
apple-silicon-support.nixosModules.apple-silicon-support
|
|
|
|
./machines/effundam
|
2023-07-17 07:54:37 +03:00
|
|
|
];
|
|
|
|
};
|
2023-07-16 16:43:13 +03:00
|
|
|
*/
|
|
|
|
};
|
2023-07-30 11:29:17 +03:00
|
|
|
}
|