Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
49 lines
1,022 B
Nix
49 lines
1,022 B
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";
|
|
};
|
|
|
|
# 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";
|
|
|
|
nixvim.url = "git+https://codeberg.org/landervdb/nixvim.git";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
inherit (self) outputs;
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
wodan = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/wodan
|
|
];
|
|
};
|
|
widar = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs outputs; };
|
|
modules = [
|
|
./hosts/widar
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|