refactor(treewide): format with alejandra

This commit is contained in:
ooks-io 2024-07-29 15:00:38 +12:00
parent 7fefb94400
commit 61cef505da
216 changed files with 5995 additions and 3969 deletions

View file

@ -1,10 +1,6 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) types mkOption;
in
{
in {
imports = [
./systemd.nix
# ./grub

View file

@ -1,11 +1,11 @@
{ lib, config, ... }:
let
{
lib,
config,
...
}: let
inherit (lib) mkIf;
bootloader = config.ooknet.boot.loader;
in
{
in {
config = mkIf (bootloader == "systemd") {
boot.loader = {
systemd-boot = {

View file

@ -1,11 +1,12 @@
{ lib, config, pkgs, ... }:
let
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.sys.boot.plymouth;
in
{
in {
options.sys.boot.plymouth.enable = mkEnableOption "";
config = mkIf cfg.enable {