reo101
dd2391d905
Place all configurations in `machines/${manager}/${system}/${hostname}/...`: - `${manager}` - One of `nixos`, `nix-on-droid`, `nix-darwin` or `home-manager` - `${system}` - A system's architecture (can be many) - `${hostname}` - A system's hostname (can be many) The flake now automatically generates the needed configurations based on the above structure. It only generates configurations for valid directory structures: - It wouldn't generate a NixOS config if there isn't a `configuration.nix` file - ...
10 lines
265 B
Nix
10 lines
265 B
Nix
# This is just an example, you should generate yours with nixos-generate-config and put it in here.
|
|
{
|
|
fileSystems."/" = {
|
|
device = "/dev/sda1";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
# Set your system kind (needed for flakes)
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
}
|