diff --git a/home/file/yazi/module/Yazi.nix b/home/file/yazi/module/Yazi.nix index f84d129..44737b5 100644 --- a/home/file/yazi/module/Yazi.nix +++ b/home/file/yazi/module/Yazi.nix @@ -130,6 +130,12 @@ run = openWith "switch_install"; } ]; + shell_run = [ + { + desc = "Run"; + run = openWith "bash"; + } + ]; steam_run = [ { desc = "Run"; @@ -189,10 +195,11 @@ }; in [ - (mkName "*.xlsx" [ "document" ]) (mkName "*.mka" [ "audio" ]) (mkName "*.nsp" [ "switch_install" ]) (mkName "*.nsz" [ "switch_install" ]) + (mkName "*.sh" [ "shell_run" ]) + (mkName "*.xlsx" [ "document" ]) # Use `file -i file.txt` to find file mime type. # Use `xdg-mime query default "text/plain"` to find default app. diff --git a/option/AutoUpdateSigned.nix b/option/AutoUpdateSigned.nix index ab583c6..70183c8 100644 --- a/option/AutoUpdateSigned.nix +++ b/option/AutoUpdateSigned.nix @@ -3,5 +3,7 @@ let purpose = config.module.purpose; in { - options.module.autoupdate.enable = lib.mkEnableOption "the system auto-updates." // { default = purpose.disown; }; + options.module.autoupdate.enable = lib.mkEnableOption "the system auto-updates." // { + default = purpose.disown; + }; } diff --git a/option/Distrobox.nix b/option/Distrobox.nix index 0cd8d2e..af72cb8 100644 --- a/option/Distrobox.nix +++ b/option/Distrobox.nix @@ -3,5 +3,7 @@ let purpose = config.module.purpose; in { - options.module.distrobox.enable = lib.mkEnableOption "the distrobox." // { default = purpose.work; }; + options.module.distrobox.enable = lib.mkEnableOption "the distrobox." // { + default = purpose.work; + }; } diff --git a/option/Docker.nix b/option/Docker.nix index 7b0f8df..6a9a0c9 100644 --- a/option/Docker.nix +++ b/option/Docker.nix @@ -4,7 +4,9 @@ let in { options.module.docker = { - enable = lib.mkEnableOption "the docker." // { default = purpose.work; }; + enable = lib.mkEnableOption "the docker." // { + default = purpose.work; + }; rootless = lib.mkOption { default = false; type = lib.types.bool; diff --git a/option/VirtManager.nix b/option/VirtManager.nix index 243ed72..d10b9f084 100644 --- a/option/VirtManager.nix +++ b/option/VirtManager.nix @@ -3,5 +3,7 @@ let purpose = config.module.purpose; in { - options.module.virtmanager.enable = lib.mkEnableOption "the VM support." // { default = purpose.work; }; + options.module.virtmanager.enable = lib.mkEnableOption "the VM support." // { + default = purpose.work; + }; }