diff options
| author | andromeda <andromeda@lenovo> | 2026-05-01 13:44:41 +0200 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-05-01 13:44:41 +0200 |
| commit | ba57995837d448b6ed706d029be44781862a8504 (patch) | |
| tree | 29e3e0d7843af75c6be59b9c1b7161e6da229c7f /modules/nixos | |
| parent | 33d61130c82e99dbc3736a68f66f3c2a3502d2f0 (diff) | |
goodbye worlddev
Diffstat (limited to 'modules/nixos')
| -rw-r--r-- | modules/nixos/boot/lenovo.nix | 12 | ||||
| -rw-r--r-- | modules/nixos/common.nix | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/modules/nixos/boot/lenovo.nix b/modules/nixos/boot/lenovo.nix index fdd5e14..92f56c3 100644 --- a/modules/nixos/boot/lenovo.nix +++ b/modules/nixos/boot/lenovo.nix @@ -1,6 +1,16 @@ { boot.loader = { + grub = { + device = "nodev"; + enable = true; + efiSupport = true; + extraEntries = '' + menuentry "Guix" { + search --set=drive1 --fs-uuid F425-55BA + chainloader ($drive1)//EFI/Guix/grubx64.efi + } + ''; + }; efi.canTouchEfiVariables = true; - systemd-boot.enable = true; }; } diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 6082d91..b586b77 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -9,6 +9,8 @@ "nix-command" ]; + documentation.man.enable = true; + # allows users to customize shell in `$XDG_CONFIG_HOME/shell` rather than # needing /etc/shells. Useful for home-manager. # programs.noshell.enable = true; |
