36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
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 = [
|
|
./general/configuration.nix
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
./specific/lyes-pc/configuration.nix
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-extreme-gen4
|
|
];
|
|
};
|
|
|
|
# iso = nixpkgs.lib.nixosSystem {
|
|
# system = "x86_64-linux";
|
|
# specialArgs = attrs;
|
|
# modules = [
|
|
# ./general/configuration.nix
|
|
# nix-flatpak.nixosModules.nix-flatpak
|
|
# ./specific/iso/configuration.nix
|
|
# ];
|
|
# };
|
|
};
|
|
};
|
|
}
|