26 lines
713 B
Nix
26 lines
713 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-22.11";
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = { self, nixpkgs, hyprland, home-manager }@inputs: {
|
|
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
hyprland.nixosModules.default
|
|
{ programs.hyprland.enable = true; }
|
|
];
|
|
specialArgs = inputs;
|
|
};
|
|
homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
modules = [ ];
|
|
};
|
|
};
|
|
}
|