mirror of
https://github.com/zoriya/flake.git
synced 2026-06-03 10:57:13 +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 [
|
++ nixpkgs.lib.optionals darwin [
|
||||||
inputs.nix-index-database.darwinModules.nix-index
|
inputs.nix-index-database.darwinModules.nix-index
|
||||||
{
|
({pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
coreutils
|
||||||
|
];
|
||||||
# auth sudo via fingerprint
|
# auth sudo via fingerprint
|
||||||
security.pam.services.sudo_local = {
|
security.pam.services.sudo_local = {
|
||||||
reattach = true;
|
reattach = true;
|
||||||
touchIdAuth = true;
|
touchIdAuth = true;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
]
|
]
|
||||||
++ custom;
|
++ custom;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ return {
|
|||||||
},
|
},
|
||||||
csharpier = function()
|
csharpier = function()
|
||||||
return {
|
return {
|
||||||
|
command = "csharpier",
|
||||||
|
args = { "format" },
|
||||||
|
stdin = true,
|
||||||
--- @diagnostic disable: param-type-mismatch
|
--- @diagnostic disable: param-type-mismatch
|
||||||
cwd = require("conform.util").root_file(function(name)
|
cwd = require("conform.util").root_file(function(name)
|
||||||
return name:match('.*%.sln$') or name:match('.*%.csproj$')
|
return name:match('.*%.sln$') or name:match('.*%.csproj$')
|
||||||
|
|||||||
Reference in New Issue
Block a user