1
1
Fork 0
nixos-configs/flake.nix

104 lines
2.8 KiB
Nix
Raw Normal View History

2022-11-26 18:39:04 +00:00
{
inputs = {
2023-12-02 01:04:13 +00:00
nixpkgs-2305.url = "github:NixOS/nixpkgs/23.05";
nixpkgs-2311.url = "github:NixOS/nixpkgs/23.11";
2024-06-01 19:27:17 +00:00
nixpkgs-2405.url = "github:NixOS/nixpkgs/24.05";
2023-06-20 04:35:11 +00:00
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
2023-12-02 01:04:13 +00:00
inputs.nixpkgs.follows = "nixpkgs-2305";
2023-06-20 04:35:11 +00:00
inputs.flake-compat.follows = "flake-compat";
};
intake = {
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git";
2023-12-02 01:04:13 +00:00
inputs.nixpkgs.follows = "nixpkgs-2305";
2023-06-20 04:35:11 +00:00
inputs.flake-compat.follows = "flake-compat";
};
2023-06-20 21:34:14 +00:00
intake-sources = {
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git";
2023-12-02 01:04:13 +00:00
inputs.nixpkgs.follows = "nixpkgs-2305";
2023-06-20 21:34:14 +00:00
};
2022-11-26 18:39:04 +00:00
};
2023-06-09 20:42:52 +00:00
outputs = {
self,
2023-12-02 01:04:13 +00:00
nixpkgs-2305,
nixpkgs-2311,
2024-06-01 19:27:17 +00:00
nixpkgs-2405,
2023-06-20 04:35:11 +00:00
flake-compat,
nixos-wsl,
intake,
2023-06-20 21:34:14 +00:00
intake-sources,
}@inputs: {
2023-08-02 01:59:06 +00:00
nixosModules.beatific = import ./modules/beatific.nix;
nixosConfigurations = let
pinNixpkgs = nixpkgs: { ... }: {
nix.registry.nixpkgs.to = { type = "path"; path = nixpkgs; };
};
in {
2023-12-02 01:04:51 +00:00
backyard = nixpkgs-2311.lib.nixosSystem {
2023-08-02 00:13:35 +00:00
system = "x86_64-linux";
modules = [
2023-08-02 01:59:06 +00:00
self.nixosModules.beatific
(pinNixpkgs nixpkgs-2311)
2023-08-02 00:13:35 +00:00
./machine/backyard
];
};
2023-12-02 01:04:13 +00:00
catacomb = nixpkgs-2305.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "aarch64-linux";
2023-08-02 17:03:35 +00:00
modules = [
self.nixosModules.beatific
(pinNixpkgs nixpkgs-2305)
2023-08-02 17:03:35 +00:00
./machine/catacomb
];
2022-12-29 03:00:25 +00:00
};
2024-06-01 19:27:17 +00:00
centroid = nixpkgs-2405.lib.nixosSystem {
2024-01-18 22:55:55 +00:00
system = "x86_64-linux";
modules = [
2024-01-18 23:10:24 +00:00
self.nixosModules.beatific
2024-01-18 22:55:55 +00:00
./machine/centroid
];
};
2023-12-02 01:04:13 +00:00
empyrean = nixpkgs-2305.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "x86_64-linux";
2023-06-20 04:35:11 +00:00
modules = [
2023-08-02 17:45:22 +00:00
self.nixosModules.beatific
2023-06-20 21:34:14 +00:00
intake.nixosModules.default
intake-sources.nixosModules.default
(pinNixpkgs nixpkgs-2305)
2023-06-20 04:35:11 +00:00
./machine/empyrean
];
2022-12-29 03:00:25 +00:00
};
2023-12-15 21:13:23 +00:00
imperium = nixpkgs-2311.lib.nixosSystem {
system = "x86_64-linux";
modules = [
self.nixosModules.beatific
(pinNixpkgs nixpkgs-2311)
({ ... }: {
environment.systemPackages = [ nixpkgs-2311.legacyPackages."i686-linux".gperftools ];
})
2023-12-15 21:13:23 +00:00
./machine/imperium
];
};
2023-12-02 01:04:13 +00:00
stagirite = nixpkgs-2305.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.wsl
./machine/stagirite
];
};
2024-06-03 04:40:02 +00:00
unfolder = nixpkgs-2405.lib.nixosSystem {
2023-08-04 04:52:49 +00:00
system = "x86_64-linux";
modules = [
self.nixosModules.beatific
./machine/unfolder
];
};
2022-11-28 16:43:16 +00:00
};
2022-11-26 18:39:04 +00:00
};
}