nixos-config/flake.nix
2025-03-20 15:26:29 +00:00

38 lines
904 B
Nix

outputs = { nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
in {
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/laptop.nix
./modules/common.nix
./modules/hyprland.nix
./modules/networking.nix
./modules/user.nix
];
};
desktop = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/desktop.nix
./modules/common.nix
./modules/hyprland.nix
./modules/networking.nix
./modules/user.nix
];
};
vm = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/vm.nix
./modules/common.nix
./modules/hyprland.nix
./modules/networking.nix
./modules/user.nix
];
};
};
};