mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 09:19:00 +00:00
22 lines
605 B
Nix
22 lines
605 B
Nix
{
|
|
description = "Very simple sample of a Nix flake with NixOS and home-manager";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, ... }: {
|
|
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
({ config, lib, ... }: {
|
|
nix.registry = lib.mapAttrs (_: flake: { inherit flake; }) inputs;
|
|
})
|
|
./hosts/desktop
|
|
];
|
|
};
|
|
};
|
|
}
|