diff --git a/Droidnix/README.org b/Droidnix/README.org index bc7877697..295df35fe 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -347,43 +347,38 @@ let coreEnabled = config.mySystem.system.core.enable or false; in { - options.mySystem.system.locale.enable = - lib.mkEnableOption "Boot settings"; + options.mySystem.system.locale.enable = lib.mkEnableOption "Boot settings"; config = lib.mkIf (coreEnabled || config.mySystem.system.locale.enable) { boot = { - initrd = { - verbose = false; # its a lot of logs. dont need it, unless we do. - kernelModules = [ ]; # no kernel modules on boot - }; - - extraModulePackages = [ ]; # no extra packages on boot either - kernelPackages = pkgs.linuxPackages_latest; # latest greatest linux kernel - kernelParams = [ "silent" ]; # quiet those logs - - consoleLogLevel = 0; # quiten more logs - plymouth.enable = true; # graphical boot animation instead - - supportedFilesystems = [ "ntfs" ]; # should see the ntfs (windows) - - loader = { - systemd-boot.enable = true; # systemd-boot - systemd-boot.configurationLimit = 10; - efi.canTouchEfiVariables = true; # allow editing efi to edit the boot loader - timeout = 5; # grub timeout to make a selection - }; + initrd = { + verbose = false; # its a lot of logs. dont need it, unless we do. + kernelModules = [ ]; # no kernel modules on boot + }; + + extraModulePackages = [ ]; # no extra packages on boot either + kernelPackages = pkgs.linuxPackages_latest; # latest greatest linux kernel + kernelParams = [ "silent" ]; # quiet those logs + + consoleLogLevel = 0; # quiten more logs + plymouth.enable = true; # graphical boot animation instead + + supportedFilesystems = [ "ntfs" ]; # should see the ntfs (windows) + + loader = { + systemd-boot.enable = true; # systemd-boot + systemd-boot.configurationLimit = 10; + efi.canTouchEfiVariables = true; # allow editing efi to edit the boot loader + timeout = 5; # grub timeout to make a selection + }; }; + }; } #+END_SRC - - - * First the nix-files that flake really needs and that do not fit wel in the hierarchical structure - - ** =generated/modules/system/devshell.nix= This code defines a Nix shell environment (also called a "devShell") that you can enter using the nix develop command. When you enter this shell, Nix will provide the tools and dependencies listed in buildInputs. #+BEGIN_SRC nix :tangle generated/modules/system/devshell.nix :noweb tangle :mkdirp yes :eval never-html diff --git a/Droidnix/generated/modules/system/boot.nix b/Droidnix/generated/modules/system/boot.nix index cf746f75e..47c06f6c2 100644 --- a/Droidnix/generated/modules/system/boot.nix +++ b/Droidnix/generated/modules/system/boot.nix @@ -4,31 +4,31 @@ let coreEnabled = config.mySystem.system.core.enable or false; in { - options.mySystem.system.locale.enable = - lib.mkEnableOption "Boot settings"; + options.mySystem.system.locale.enable = lib.mkEnableOption "Boot settings"; config = lib.mkIf (coreEnabled || config.mySystem.system.locale.enable) { boot = { - initrd = { - verbose = false; # its a lot of logs. dont need it, unless we do. - kernelModules = [ ]; # no kernel modules on boot - }; - - extraModulePackages = [ ]; # no extra packages on boot either - kernelPackages = pkgs.linuxPackages_latest; # latest greatest linux kernel - kernelParams = [ "silent" ]; # quiet those logs - - consoleLogLevel = 0; # quiten more logs - plymouth.enable = true; # graphical boot animation instead - - supportedFilesystems = [ "ntfs" ]; # should see the ntfs (windows) - - loader = { - systemd-boot.enable = true; # systemd-boot - systemd-boot.configurationLimit = 10; - efi.canTouchEfiVariables = true; # allow editing efi to edit the boot loader - timeout = 5; # grub timeout to make a selection - }; + initrd = { + verbose = false; # its a lot of logs. dont need it, unless we do. + kernelModules = [ ]; # no kernel modules on boot + }; + + extraModulePackages = [ ]; # no extra packages on boot either + kernelPackages = pkgs.linuxPackages_latest; # latest greatest linux kernel + kernelParams = [ "silent" ]; # quiet those logs + + consoleLogLevel = 0; # quiten more logs + plymouth.enable = true; # graphical boot animation instead + + supportedFilesystems = [ "ntfs" ]; # should see the ntfs (windows) + + loader = { + systemd-boot.enable = true; # systemd-boot + systemd-boot.configurationLimit = 10; + efi.canTouchEfiVariables = true; # allow editing efi to edit the boot loader + timeout = 5; # grub timeout to make a selection + }; }; + }; }