Initial commit
This commit is contained in:
commit
e886de58af
23 changed files with 926 additions and 0 deletions
17
modules/boot.nix
Normal file
17
modules/boot.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Bootloader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.memtest86.enable = true;
|
||||
boot.loader.timeout = 5;
|
||||
# Create the traditional /bin directory with a symlink to bash for scripts
|
||||
system.activationScripts.binbash = {
|
||||
deps = [];
|
||||
text = ''
|
||||
mkdir -p /bin
|
||||
ln -sf ${pkgs.bash}/bin/bash /bin/bash
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue