2024-02-12 09:25:11 +01:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixvim = {
|
|
|
|
url = "github:nix-community/nixvim";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-03-08 14:17:40 +01:00
|
|
|
|
|
|
|
hb-downloader = {
|
|
|
|
url = "git+file:///home/crony/Documents/develop/hb-downloader";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-12 09:25:11 +01:00
|
|
|
};
|
|
|
|
|
2024-02-14 20:33:50 +01:00
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
default = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./nixos/configuration.nix
|
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
|
|
|
home-manager.users.crony = {
|
|
|
|
imports = [
|
|
|
|
./home-manager/home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-02-12 09:25:11 +01:00
|
|
|
};
|
2024-02-14 20:33:50 +01:00
|
|
|
};
|
2024-02-12 09:25:11 +01:00
|
|
|
}
|