46 lines
991 B
Nix
46 lines
991 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
ags.url = "github:Aylur/ags";
|
|
stylix.url = "github:danth/stylix";
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/desktop
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/laptop
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|
|
|