switched to grub (for win dual boot)

This commit is contained in:
twoneis 2024-01-06 19:24:43 +01:00
parent 262fba83ba
commit 109ceb7b27
2 changed files with 11 additions and 5 deletions

6
flake.lock generated
View file

@ -273,11 +273,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1704551462, "lastModified": 1704554033,
"narHash": "sha256-erYQz1jgJYvUKNooJSnkfEmLi9p96UYisq7c8ii0O68=", "narHash": "sha256-4sgRZyamI4sh6VRk3kgkM/ojW+KCc4iDD0RRa4ed/7k=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "771d345e77cd35f339bb03c6f61bf619ea25ff41", "rev": "3fbed9bd2b3c6eced12baea4b61b3a060cd39b8d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -33,8 +33,14 @@
documentation.nixos.enable = false; documentation.nixos.enable = false;
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader = {
boot.loader.efi.canTouchEfiVariables = true; grub = {
enable = true;
efiSupport = true;
device = "nodev";
useOSProber = true;
};
};
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;