nix-config/flake.nix
Lander Van den Bulcke 2188eaaa7d
feat: switch to nixvim
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2024-09-24 09:36:37 +02:00

45 lines
968 B
Nix

{
description = "Your new nix config";
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
# 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.05";
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
];
};
};
};
}