2025-01-28 15:00:09 +01:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# Use unstable packages ( which are amazing )
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
# YEI, HOME MANAGER
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Let's theme everything easilly
|
|
|
|
stylix.url = "github:danth/stylix";
|
2025-01-28 21:14:57 +01:00
|
|
|
|
|
|
|
# NVF FOR SUPER NVIM
|
|
|
|
nvf = {
|
|
|
|
url = "github:notashelf/nvf";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2025-01-28 15:00:09 +01:00
|
|
|
};
|
|
|
|
|
2025-01-28 21:14:57 +01:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
|
|
|
...
|
|
|
|
} @ inputs: {
|
2025-01-28 15:00:09 +01:00
|
|
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
|
|
|
./hosts/default/configuration.nix
|
2025-01-28 21:14:57 +01:00
|
|
|
inputs.stylix.nixosModules.stylix
|
2025-01-28 15:00:09 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|