nix_files/flake.nix
2025-02-06 15:18:02 +01:00

27 lines
654 B
Nix

{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
# This should correspond to the hostname of the machine
t0urn3s0l = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/t0urn3s0l/configuration.nix
inputs.home-manager.nixosModules.default
];
};
};
};
}