nix/flake.nix

40 lines
853 B
Nix
Raw Normal View History

2024-06-05 20:52:52 +02:00
{
description = "Nixos config flake";
inputs = {
2024-07-07 14:39:15 +02:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-07-02 22:10:44 +02:00
ags.url = "github:Aylur/ags";
2024-07-05 17:38:02 +02:00
stylix.url = "github:danth/stylix";
2024-06-05 20:52:52 +02:00
2024-07-08 13:44:01 +02:00
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-06-05 20:52:52 +02:00
};
2024-06-25 19:19:24 +02:00
outputs = { nixpkgs, home-manager, ... }@inputs: {
2024-07-04 12:57:40 +02:00
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
2024-06-05 20:52:52 +02:00
specialArgs = {inherit inputs;};
modules = [
2024-07-04 12:57:40 +02:00
./hosts/desktop
2024-07-05 17:42:57 +02:00
inputs.stylix.nixosModules.stylix
2024-06-05 20:52:52 +02:00
];
};
2024-07-08 20:53:46 +02:00
2024-06-05 20:52:52 +02:00
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/laptop
2024-07-08 13:44:01 +02:00
inputs.stylix.nixosModules.stylix
2024-06-05 20:52:52 +02:00
];
};
};
}