style: use alejandra formatter on all nix files
This commit is contained in:
parent
d563805909
commit
0d8a394dcf
76 changed files with 1287 additions and 935 deletions
|
@ -1,9 +1,12 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.application.imv;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.application.imv;
|
||||
in {
|
||||
options.modules.application.imv = {
|
||||
enable = mkEnableOption "enable IMV image viewer";
|
||||
|
||||
|
@ -12,14 +15,13 @@ in
|
|||
default = true;
|
||||
description = "install Package, if false relies on distribution packages";
|
||||
};
|
||||
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.imv = {
|
||||
enable = true;
|
||||
};
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"image/*" = "imv-dir.desktop";
|
||||
"image/*" = "imv-dir.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue