Comment Comment by knlje I have used NixOS only for a year so I'm no expert but I try to answer.The config file has this line: imports = [ ./hardware-configuration.nix ]; This file hardware-configuration.nix is typically generated semi-automatically during the installation. It has stuff like fileSystems."/" = { device = "/dev/disk/by-uuid/14b5b22f-6cd2-4da5-a9a5-6ee74b76509d"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/7D69-81E5"; fsType = "vfat"; }; AFAIK you can include these details in configuration.nix if you happen to know them. But most of the time these are so hardware-specific details that you don't want to write them manually. Does it make sense? parent knlje 6 years ago
The config file has this line:
This file hardware-configuration.nix is typically generated semi-automatically during the installation. It has stuff like AFAIK you can include these details in configuration.nix if you happen to know them. But most of the time these are so hardware-specific details that you don't want to write them manually. Does it make sense?