nix_files/flake.nix

36 lines
800 B
Nix
Raw Normal View History

2025-02-06 10:14:15 +00:00
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2025-02-07 23:20:47 +00:00
# Hyprland WM
2025-02-06 14:18:02 +00:00
hyprland.url = "github:hyprwm/Hyprland";
2025-02-07 23:20:47 +00:00
# Neovim Package Manager
nvf = {
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-02-06 10:14:15 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
2025-02-06 14:18:02 +00:00
nixosConfigurations = {
# This should correspond to the hostname of the machine
t0urn3s0l = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
2025-02-07 23:20:47 +00:00
2025-02-06 14:18:02 +00:00
modules = [
./hosts/t0urn3s0l/configuration.nix
inputs.home-manager.nixosModules.default
];
};
2025-02-06 10:14:15 +00:00
};
};
}