diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-08 14:13:31 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-08 14:13:31 +0200 |
commit | ecaf5df80adb914875ff926410e9226d72f8fa05 (patch) | |
tree | 28548d3b2ffad3657c3de82ca6d3d0e97957002a /nixos/bootloader.nix | |
parent | 7d88765f5dc8555e548c8a5b320baec2b3f3f3d1 (diff) | |
download | nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.tar.gz nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.tar.bz2 nixos-configuration-ecaf5df80adb914875ff926410e9226d72f8fa05.zip |
chore(fmt): use nixpkgs-fmt
Diffstat (limited to 'nixos/bootloader.nix')
-rw-r--r-- | nixos/bootloader.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/nixos/bootloader.nix b/nixos/bootloader.nix index e18e85e..00691b2 100644 --- a/nixos/bootloader.nix +++ b/nixos/bootloader.nix @@ -1,8 +1,8 @@ -{ - config, - pkgs, - ... -}: let +{ config +, pkgs +, ... +}: +let distro-grub-themes = pkgs.stdenv.mkDerivation { pname = "distro-grub-themes"; version = "3.1"; @@ -25,8 +25,9 @@ }; installPhase = "cp -r xenlism-grub-1080p-nixos/Xenlism-Nixos $out"; }; -in { - environment.systemPackages = with pkgs; [hack-font]; +in +{ + environment.systemPackages = with pkgs; [ hack-font ]; #fileSystems."/mnt/winsys" = { # device = "/dev/nvme0n1p5"; # fsType = "ntfs-3g"; @@ -43,7 +44,7 @@ in { theme = "rings"; themePackages = with pkgs; [ # By default we would install all themes - (adi1090x-plymouth-themes.override {selected_themes = ["rings"];}) + (adi1090x-plymouth-themes.override { selected_themes = [ "rings" ]; }) ]; }; @@ -62,16 +63,16 @@ in { # Hide the OS choice for bootloaders. # It's still possible to open the bootloader list by pressing any key # It will just not appear on screen unless a key is pressed - supportedFilesystems = ["ntfs"]; + supportedFilesystems = [ "ntfs" ]; loader = { #timeout = 0; - efi = {canTouchEfiVariables = true;}; + efi = { canTouchEfiVariables = true; }; grub = { enable = true; efiSupport = true; device = "nodev"; fsIdentifier = "label"; - devices = ["nodev"]; + devices = [ "nodev" ]; extraConfig = '' function load_video { if [ x$feature_all_video_module = xy ]; then |