feat: add lazygit alias to lg
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user