From 49483c440769aa1a978bb3f2426ad2b883480b63 Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 20 Jul 2024 20:47:33 +0200 Subject: [PATCH] grub --- home/misc/default.nix | 4 +++- hosts/desktop/default.nix | 14 ++++++++++++-- modules/packages/default.nix | 1 - 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/home/misc/default.nix b/home/misc/default.nix index dcf8532..9413ac9 100644 --- a/home/misc/default.nix +++ b/home/misc/default.nix @@ -11,7 +11,9 @@ }; programs.home-manager.enable = true; - + + qt.enable = true; + xdg.mimeApps.defaultApplications = { "text/plain" = ["neovide.desktop"]; "image/*" = ["imv.desktop"]; diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index f8ca9bf..a7e3ba2 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -2,8 +2,18 @@ { networking.hostName = "desktop"; networking.networkmanager.enable = true; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + + boot.loader = { + efi = { + canTouchEfiVariables = false; + }; + grub = { + efiSupport = true; + efiInstallAsRemovable = true; + device = "nodev"; + }; + }; + boot.loader.timeout = 5; imports = [ diff --git a/modules/packages/default.nix b/modules/packages/default.nix index 0202d75..6a108dc 100644 --- a/modules/packages/default.nix +++ b/modules/packages/default.nix @@ -46,7 +46,6 @@ gnome.gnome-clocks gnome-calculator gnome-disk-utility -# gnome-secrets #random shit htop bat