55 lines
1.5 KiB
Nix
55 lines
1.5 KiB
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprland = {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hy3 = {
|
|
url = "github:outfoxxed/hy3";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... } @ inputs: {
|
|
nixosConfigurations.z790prors-nix = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./machines/z790prors/configuration.nix
|
|
inputs.home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
}
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.nix-book = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./machines/nix-book/configuration.nix
|
|
inputs.hyprland.homeManagerModules.default
|
|
inputs.home-manager.nixosModules.home-manager
|
|
{
|
|
inputs.home-manager.useGlobalPkgs = true;
|
|
inputs.home-manager.useUserPackages = true;
|
|
inputs.home-manager.extraSpecialArgs = { inherit inputs; };
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|