massicot: fix bugs

This commit is contained in:
Xinyang Li 2023-07-30 01:15:35 +08:00
parent 42f550f156
commit a31020a9ea
3 changed files with 10 additions and 2 deletions

View file

@ -6,6 +6,13 @@
./networking.nix
];
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub = {
enable = true;
efiSupport = true;
}
environment.systemPackages = with pkgs; [
git
];
@ -32,6 +39,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPBcSvUQnmMFtpftFKIsDqeyUyZHzRg5ewgn3VEcLnss"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIInPn+7cMbH7zCEPJArU/Ot6oq8NHo8a2rYaCfTp7zgd"
];
hashedPassword = "$y$j9T$JOJn97hZndiDamUmmT.iq.$ue7gNZz/b14ur8GhyutOCvFjsv.3rcsHmk7m.WRk6u7";
};
}

View file

@ -18,7 +18,7 @@
fsType = "ext4";
};
fileSystems."/boot" =
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/06F4-7777";
fsType = "vfat";
};

View file

@ -9,5 +9,5 @@ networking = {
address = "fe80::1";
interface = "eth0";
};
nameservers = [ "2a00:1098:2b::1" "2a00:1098:2c::1" "2a01:4f9:c010:3f02::1"]
nameservers = [ "2a00:1098:2b::1" "2a00:1098:2c::1" "2a01:4f9:c010:3f02::1"];
};