40 lines
1.3 KiB
Nix
40 lines
1.3 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";
|
|
|
|
thunderbird-128.url = "github:vcunat/nixpkgs/?ref=p/thunderbird-128";
|
|
};
|
|
|
|
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
|
|
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
"${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
|
./specific/iso/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|