refactor(treewide): format with alejandra
This commit is contained in:
parent
7fefb94400
commit
61cef505da
216 changed files with 5995 additions and 3969 deletions
|
|
@ -1,25 +1,26 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
cfg = config.ooknet.fileManager.nemo;
|
||||
fileManager = config.ooknet.desktop.fileManager;
|
||||
nemoMime = {
|
||||
"inode/directory" = ["nemo.desktop"];
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkMerge [
|
||||
(mkIf (cfg.enable || fileManager == "nemo") {
|
||||
home.packages = [ pkgs.cinnamon.nemo-with-extensions ];
|
||||
home.packages = [pkgs.cinnamon.nemo-with-extensions];
|
||||
})
|
||||
|
||||
(mkIf (fileManager == "nemo") {
|
||||
ooknet.binds.fileManager = "nemo";
|
||||
ooknet.binds.fileManager = "nemo";
|
||||
xdg.mimeApps = {
|
||||
associations.added = nemoMime;
|
||||
defaultApplications = nemoMime;
|
||||
defaultApplications = nemoMime;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue