Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
99 lines
2.3 KiB
Nix
99 lines
2.3 KiB
Nix
{
|
|
description = "Your new nix config";
|
|
|
|
inputs = {
|
|
# Nixpkgs
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
|
|
# Secrets
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# disko
|
|
disko.url = "github:nix-community/disko";
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# theme
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
|
|
# Home manager
|
|
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# neovim
|
|
nixvim.url = "git+https://codeberg.org/landervdb/nixvim.git";
|
|
|
|
# mailserver
|
|
nixos-mailserver = {
|
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.05";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
# headplane
|
|
headplane = {
|
|
url = "github:igor-ramazanov/headplane";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# tidalcycles
|
|
tidalcycles = {
|
|
url = "github:mitchmindtree/tidalcycles.nix";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
tidalcycles,
|
|
...
|
|
}@inputs:
|
|
let
|
|
inherit (self) outputs;
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
# Workstations
|
|
wodan = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
{ nixpkgs.overlays = [ tidalcycles.overlays.default ]; }
|
|
./hosts/wodan
|
|
];
|
|
};
|
|
widar = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/widar
|
|
];
|
|
};
|
|
|
|
# servers
|
|
db-01 = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/db-01
|
|
];
|
|
};
|
|
hosting-01 = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/hosting-01
|
|
];
|
|
};
|
|
mail-01 = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/mail-01
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|