24 lines
790 B
Nix
24 lines
790 B
Nix
{
|
|
description = "NixOS Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixos-hardware, nix-flatpak, ... }@attrs: {
|
|
nixosConfigurations.lyes-pc = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = attrs;
|
|
modules = [
|
|
./configuration/configuration.nix
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
./hardware/lyes-pc/configuration.nix
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-extreme-gen4
|
|
];
|
|
};
|
|
};
|
|
}
|