98 lines
2.6 KiB
Nix
98 lines
2.6 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs-2311.url = "github:NixOS/nixpkgs/23.11";
|
|
nixpkgs-2405.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
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,
|
|
nixpkgs-unstable,
|
|
flake-compat,
|
|
intake,
|
|
intake-sources,
|
|
}@inputs: {
|
|
nixosModules = {
|
|
beatific = import ./modules/beatific.nix;
|
|
tf2-gperftools = ({ ... }: {
|
|
environment.systemPackages = [ nixpkgs-2405.legacyPackages."i686-linux".gperftools ];
|
|
});
|
|
unstable-vscode = ({ ... }: let
|
|
pkgs = import nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; };
|
|
in {
|
|
virtualisation.docker.enable = true;
|
|
environment.systemPackages = [
|
|
pkgs.distrobox
|
|
pkgs.vscode
|
|
pkgs.icu
|
|
];
|
|
});
|
|
};
|
|
|
|
nixosConfigurations = {
|
|
backyard = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
./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
|
|
self.nixosModules.tf2-gperftools
|
|
self.nixosModules.unstable-vscode
|
|
./machine/imperium
|
|
];
|
|
};
|
|
unfolder = nixpkgs-2405.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
self.nixosModules.beatific
|
|
self.nixosModules.unstable-vscode
|
|
./machine/unfolder
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|