KB
Size: a a a
KB
MG
nix develop
чтобы оно выбросило меня в шелл для сборки пакета из nixpkgs?MG
nixpkgs.foo
не годится, разные комбинации с .#nixosConfigurations.host....foo
не подошлиDK
nixpkgs#foo
MG
MG
nixpkgs#foo
SM
MG
MG
DK
nixpkgs
ищется во flake registry.MG
NE
NE
𝙼
VK
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
# Bootloader UEFI settings
boot.loader.grub.efiSupport = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.useOSProber = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub.efiInstallAsRemovable = true;
# Define on which hard drive you want to install Grub.
# [!] Generate or install GRUB
boot.loader.grub.device = "nodev"; # or "nodev" for efi only
VK
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
# Bootloader UEFI settings
boot.loader.grub.efiSupport = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.useOSProber = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub.efiInstallAsRemovable = true;
# Define on which hard drive you want to install Grub.
# [!] Generate or install GRUB
boot.loader.grub.device = "nodev"; # or "nodev" for efi only
sudo mount /dev/disk/by-label/nixos-sys /mnt
sudo mount /dev/disk/by-partlabel/BootFat32 /mnt/boot
֍֎
sudo mount /dev/disk/by-label/nixos-sys /mnt
sudo mount /dev/disk/by-partlabel/BootFat32 /mnt/boot
/boot
VK
installing the GRUB 2 EFI boot loader into /boot...
Installing for x86_64-efi platform.
/nix/store/ai2fa7pf7ci91b8ags0ndbdr7id2f1yg-grub-2.04/sbin/grub-install: error: /boot doesn't look like an EFI partition.
/nix/store/a6azwq1lyrpqclcyxsj48dg1s5nyhhnf-install-grub.pl: installation of GRUB EFI into /boot failed: No such file or directory
ц
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
# Bootloader UEFI settings
boot.loader.grub.efiSupport = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.useOSProber = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.grub.efiInstallAsRemovable = true;
# Define on which hard drive you want to install Grub.
# [!] Generate or install GRUB
boot.loader.grub.device = "nodev"; # or "nodev" for efi only
АБ