1
1
Fork 0
nixos-configs/flake.nix

95 lines
2.5 KiB
Nix
Raw Normal View History

2022-11-26 18:39:04 +00:00
{
inputs = {
2023-12-02 01:04:13 +00:00
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";
2023-06-20 04:35:11 +00:00
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
intake = {
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git";
2024-06-28 23:16:05 +00:00
inputs.nixpkgs.follows = "nixpkgs-2405";
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";
2024-06-28 23:16:05 +00:00
inputs.nixpkgs.follows = "nixpkgs-2405";
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-2311,
2024-06-01 19:27:17 +00:00
nixpkgs-2405,
nixpkgs-unstable,
2023-06-20 04:35:11 +00:00
flake-compat,
intake,
2023-06-20 21:34:14 +00:00
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 {
environment.systemPackages = [
pkgs.vscode
pkgs.icu
];
});
};
2023-08-02 01:59:06 +00:00
2024-06-30 04:57:36 +00:00
nixosConfigurations = {
backyard = nixpkgs-2405.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
2023-08-02 00:13:35 +00:00
./machine/backyard
];
};
2024-06-28 23:09:58 +00:00
catacomb = nixpkgs-2405.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
./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
];
};
2024-06-28 23:16:05 +00:00
empyrean = nixpkgs-2405.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
2023-06-20 04:35:11 +00:00
./machine/empyrean
];
2022-12-29 03:00:25 +00:00
};
2024-06-29 03:37:35 +00:00
imperium = nixpkgs-2405.lib.nixosSystem {
2023-12-15 21:13:23 +00:00
system = "x86_64-linux";
modules = [
self.nixosModules.beatific
self.nixosModules.tf2-gperftools
self.nixosModules.unstable-vscode
2023-12-15 21:13:23 +00:00
./machine/imperium
];
};
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
};
}