39 lines
929 B
Nix
39 lines
929 B
Nix
{
|
|
description = "Nixos Config Flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim/nixos-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nixos-hardware = {
|
|
url = "github:NixOS/nixos-hardware/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nixvim, nixos-hardware, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
default = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs;};
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./eva-01/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-nano-gen1
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|