nix/flake.nix

80 lines
1.7 KiB
Nix

{
description = "Nix los hier";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
hy3 = {
url = "github:outfoxxed/hy3";
inputs.hyprland.follows = "hyprland";
};
waybar.url = "github:Alexays/Waybar";
};
outputs = { self, nixpkgs, nixos-hardware, home-manager, hyprland, hy3, waybar, ... }@inputs: {
nixosConfigurations = {
W530 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/W530
home-manager.nixosModules.home-manager
{
imports = [ ./users/gandalf ];
}
];
};
T430 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/T430
# nixos-hardware.nixosModules.lenovo-thinkpad-t430
home-manager.nixosModules.home-manager
{
imports = [ ./users/gandalf ];
}
];
};
IROH = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/IROH
home-manager.nixosModules.home-manager
{
imports = [ ./users/gandalf ];
}
];
};
};
};
}