Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
64 lines
1.4 KiB
Nix
64 lines
1.4 KiB
Nix
{
|
|
description = "Your new nix config";
|
|
|
|
inputs = {
|
|
# Nixpkgs
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
|
|
# 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-24.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# neovim
|
|
nixvim.url = "git+https://codeberg.org/landervdb/nixvim.git";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
inherit (self) outputs;
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
# Workstations
|
|
wodan = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/wodan
|
|
];
|
|
};
|
|
widar = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/widar
|
|
];
|
|
};
|
|
|
|
# servers
|
|
cloud-1 = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/cloud-1
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|