feat: add lazygit alias to lg

This commit is contained in:
2025-09-17 12:57:04 +09:00
parent d41f27f465
commit 678d9874ff
5 changed files with 43 additions and 7 deletions

View File

@@ -17,9 +17,33 @@ in {
nixpkgs.config.allowUnfree = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.device = "/dev/nvme1n1p1";
boot.loader = {
systemd-boot.enable = false;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
grub = {
efiSupport = true;
device = "nodev";
extraConfig = ''
GRUB_DEFAULT=saved
GRUB_SAFEDEFAULT=false
'';
useOSProber = true;
};
};
security.sudo = {
enable = true;
extraRules = [{
commands = [{
command = "${pkgs.grub2}/bin/grub-reboot";
options = [ "NOPASSWD" ];
}];
groups = [ "wheel" ];
}];
};
networking.hostName = "haskell"; # Define your hostname.