diff --git a/default.nix b/default.nix index a02fc73..7221ee7 100644 --- a/default.nix +++ b/default.nix @@ -8,6 +8,8 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + + (import ./disko.nix { device1 = "/dev/nvme0n1"; device2 = "/dev/nvme1n1"; device3 = "/dev/sda"; }) ]; config = { @@ -52,10 +54,13 @@ }; sysconfig = { + + docker.nvidia = true; + users = { nathan = { isSuperuser = true; - extraGroups = [ "networkmanager" ]; + extraGroups = [ "networkmanager" "docker" ]; ssh.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEnUhN2uHwAJF/SLRX3wlGRmfhV3zpP88JQAYB+gh8jW nathan@localhost"