chore(flake): switch to new nixfmt-rfc-style option in pre-commit hooks
This commit is contained in:
parent
6a0f0bf76e
commit
83d8be3bf9
|
@ -140,8 +140,7 @@ rec {
|
|||
pre-commit = inputs.pre-commit-hooks.lib.${system}.run {
|
||||
src = ./.;
|
||||
hooks = {
|
||||
nixfmt.enable = true;
|
||||
nixfmt.package = pkgs.nixfmt-rfc-style;
|
||||
nixfmt-rfc-style.enable = true;
|
||||
shellcheck.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
27
home/configuradorfnmt.nix
Normal file
27
home/configuradorfnmt.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
# Tool for Spanish digital certificates FNMT-RCM
|
||||
{
|
||||
imports = [ inputs.autofirma-nix.homeManagerModules.default ];
|
||||
|
||||
programs.configuradorfnmt.enable = true;
|
||||
programs.configuradorfnmt.firefoxIntegration.profiles = {
|
||||
private.enable = true;
|
||||
};
|
||||
|
||||
# programs.mullvad-browser.profiles = lib.flip lib.mapAttrs
|
||||
# config.programs.configuradorfnmt.firefoxIntegration.profiles (name:
|
||||
# { enable, ... }: {
|
||||
# settings = lib.mkIf enable {
|
||||
# "network.protocol-handler.app.fnmtcr" =
|
||||
# "${config.programs.configuradorfnmt.finalPackage}/bin/configuradorfnmt";
|
||||
# "network.protocol-handler.warn-external.fnmtcr" = false;
|
||||
# "network.protocol-handler.external.fnmtcr" = true;
|
||||
# };
|
||||
# });
|
||||
}
|
9
services/open-webui.nix
Normal file
9
services/open-webui.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.open-webui;
|
||||
port = 11111;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue