39 lines
882 B
Nix
39 lines
882 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
# hyprland.url = "github:hyprwm/Hyprland";
|
|
stylix.url = "github:danth/stylix";
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager,stylix, ... }@inputs: {
|
|
nixosConfigurations.pc = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/pc
|
|
];
|
|
};
|
|
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/laptop
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|