86 lines
2.3 KiB
Nix
86 lines
2.3 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs-2311.url = "github:NixOS/nixpkgs/23.11";
|
|
nixpkgs-2405.url = "github:NixOS/nixpkgs/24.05";
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
intake = {
|
|
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git";
|
|
inputs.nixpkgs.follows = "nixpkgs-2405";
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
};
|
|
intake-sources = {
|
|
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git";
|
|
inputs.nixpkgs.follows = "nixpkgs-2405";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs-2311,
|
|
nixpkgs-2405,
|
|
flake-compat,
|
|
intake,
|
|
intake-sources,
|
|
}@inputs: {
|
|
nixosModules.beatific = import ./modules/beatific.nix;
|
|
|
|
nixosConfigurations = let
|
|
pinNixpkgs = nixpkgs: { ... }: {
|
|
nix.registry.nixpkgs.to = { type = "path"; path = nixpkgs; };
|
|
};
|
|
in {
|
|
backyard = nixpkgs-2311.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
(pinNixpkgs nixpkgs-2311)
|
|
./machine/backyard
|
|
];
|
|
};
|
|
catacomb = nixpkgs-2405.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
./machine/catacomb
|
|
];
|
|
};
|
|
centroid = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
./machine/centroid
|
|
];
|
|
};
|
|
empyrean = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
intake.nixosModules.default
|
|
intake-sources.nixosModules.default
|
|
./machine/empyrean
|
|
];
|
|
};
|
|
imperium = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
({ ... }: {
|
|
environment.systemPackages = [ nixpkgs-2405.legacyPackages."i686-linux".gperftools ];
|
|
})
|
|
./machine/imperium
|
|
];
|
|
};
|
|
unfolder = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
./machine/unfolder
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|