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

@ -72,7 +72,7 @@
snowfall.namespace = "pantheon"; snowfall.namespace = "pantheon";
overlays = with inputs; [ overlays = with inputs; [
stable-diffusion-webui-nix.overlays.default stable-diffusion-webui-nix.overlays.default
(final: prev: { (_final: prev: {
zjstatus = zjstatus.packages.${prev.system}.default; zjstatus = zjstatus.packages.${prev.system}.default;
}) })
]; ];

View file

@ -5,7 +5,7 @@
... ...
}: }:
let let
mainMonitor = osConfig.desktop.mainMonitor; inherit (osConfig.desktop) mainMonitor;
in in
{ {
config = lib.mkIf (osConfig.desktop.windowManager == "hyprland") { config = lib.mkIf (osConfig.desktop.windowManager == "hyprland") {

View file

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

View file

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

View file

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

View file

@ -1,7 +1,5 @@
{ {
config,
lib, lib,
inputs,
... ...
}: }:
{ {

View file

@ -1,7 +1,5 @@
{ {
lib, lib,
config,
inputs,
... ...
}: }:
{ {