mirror of
https://github.com/zoriya/flake.git
synced 2026-05-16 21:09:26 +00:00
Add coreutils to macos to have proper gnuutils
This commit is contained in:
+5
-2
@@ -123,13 +123,16 @@ in
|
||||
]
|
||||
++ nixpkgs.lib.optionals darwin [
|
||||
inputs.nix-index-database.darwinModules.nix-index
|
||||
{
|
||||
({pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
coreutils
|
||||
];
|
||||
# auth sudo via fingerprint
|
||||
security.pam.services.sudo_local = {
|
||||
reattach = true;
|
||||
touchIdAuth = true;
|
||||
};
|
||||
}
|
||||
})
|
||||
]
|
||||
++ custom;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,9 @@ return {
|
||||
},
|
||||
csharpier = function()
|
||||
return {
|
||||
command = "csharpier",
|
||||
args = { "format" },
|
||||
stdin = true,
|
||||
--- @diagnostic disable: param-type-mismatch
|
||||
cwd = require("conform.util").root_file(function(name)
|
||||
return name:match('.*%.sln$') or name:match('.*%.csproj$')
|
||||
|
||||
Reference in New Issue
Block a user