You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
487 B
Nix
20 lines
487 B
Nix
{
|
|
description = "A simple NixOS flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs: {
|
|
# Please replace my-nixos with your hostname
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
# Import the previous configuration.nix we used,
|
|
# so the old configuration file still takes effect
|
|
./configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|