style(tree-wide): apply linting

This commit is contained in:
Mohammad Rafiq 2025-06-04 07:49:31 +08:00
parent e3e8f88460
commit d478e9009f
No known key found for this signature in database
7 changed files with 4 additions and 10 deletions

View file

@ -3,7 +3,7 @@ let
cfg = config.hardware.drives.btrfs;
in
{
config = lib.mkIf (cfg.enable) (
config = lib.mkIf cfg.enable (
lib.mkMerge [
{
boot.initrd.kernelModules = [ "dm-snapshot" ];
@ -57,7 +57,7 @@ in
};
};
}
(lib.mkIf (cfg.ephemeralRoot) {
(lib.mkIf cfg.ephemeralRoot {
boot.initrd.postDeviceCommands = lib.mkAfter ''
mkdir /btrfs_tmp
mount /dev/root_vg/root /btrfs_tmp

View file

@ -1,7 +1,6 @@
{
lib,
config,
pkgs,
...
}:
{

View file

@ -2,7 +2,6 @@
inputs,
config,
lib,
pkgs,
...
}:
let