41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{
|
|
description = "Evie's machine configurations";
|
|
|
|
inputs = {
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
home-manager,
|
|
}: {
|
|
nixosConfigurations = {
|
|
N0245 = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
./machines/N0245/default.nix
|
|
home-manager.nixosModules.home-manager
|
|
./machines/N0245/elitherl.nix
|
|
];
|
|
};
|
|
};
|
|
homeConfigurations = {
|
|
"tux" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
|
modules = [./machines/Monarch/tux.nix];
|
|
};
|
|
"xenia" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages."aarch64-linux";
|
|
modules = [./machines/Northstar/xenia.nix];
|
|
};
|
|
};
|
|
};
|
|
}
|