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";
overlays = with inputs; [
stable-diffusion-webui-nix.overlays.default
(final: prev: {
(_final: prev: {
zjstatus = zjstatus.packages.${prev.system}.default;
})
];

View file

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

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

View file

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

View file

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