make configuration.nix host agnostic and add nix-conv

This commit is contained in:
2024-12-13 15:57:06 +01:00
parent 2668121c52
commit 00004c69f5
3 changed files with 16 additions and 9 deletions

View File

@@ -53,4 +53,9 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "nix-desk"; # Define your hostname.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# required for ZFS
networking.hostId = "00000001";
}