mirror of
https://github.com/ryanccn/flake.git
synced 2026-01-26 19:56:29 +01:00
style: switch to nixfmt-rfc-style
This commit is contained in:
parent
3404601a4a
commit
02e3e3a7ac
17 changed files with 117 additions and 112 deletions
|
|
@ -20,22 +20,22 @@ _: {
|
|||
"ttfautohint"
|
||||
];
|
||||
|
||||
casks = let
|
||||
noQuarantine = name: {
|
||||
inherit name;
|
||||
args = {
|
||||
no_quarantine = true;
|
||||
casks =
|
||||
let
|
||||
noQuarantine = name: {
|
||||
inherit name;
|
||||
args = {
|
||||
no_quarantine = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
in [
|
||||
"blackhole-16ch"
|
||||
(noQuarantine "eloston-chromium")
|
||||
"sf-symbols"
|
||||
"1password/tap/1password-cli"
|
||||
];
|
||||
in
|
||||
[
|
||||
"blackhole-16ch"
|
||||
(noQuarantine "eloston-chromium")
|
||||
"sf-symbols"
|
||||
"1password/tap/1password-cli"
|
||||
];
|
||||
|
||||
taps = [
|
||||
"1password/tap"
|
||||
];
|
||||
taps = [ "1password/tap" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
services.nix-daemon.enable = true;
|
||||
nix.package = pkgs.nixVersions.latest;
|
||||
|
||||
|
|
@ -12,27 +13,24 @@
|
|||
n.flake = inputs.nixpkgs;
|
||||
};
|
||||
|
||||
nix.nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs.outPath}"
|
||||
];
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
extra-platforms = ["x86_64-darwin" "aarch64-darwin"];
|
||||
extra-platforms = [
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
|
||||
build-users-group = "nixbld";
|
||||
trusted-users = ["ryanccn"];
|
||||
trusted-users = [ "ryanccn" ];
|
||||
sandbox = true;
|
||||
use-xdg-base-directories = true;
|
||||
|
||||
extra-substituters = [
|
||||
"https://cache.lix.systems"
|
||||
];
|
||||
extra-substituters = [ "https://cache.lix.systems" ];
|
||||
|
||||
extra-trusted-public-keys = [
|
||||
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
||||
];
|
||||
extra-trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ];
|
||||
|
||||
nix-path = config.nix.nixPath;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.home-manager.packages.${pkgs.system}.home-manager
|
||||
|
||||
alejandra
|
||||
nixpkgs-fmt
|
||||
nixfmt-rfc-style
|
||||
statix
|
||||
deadnix
|
||||
|
||||
|
|
@ -19,7 +17,7 @@
|
|||
deno
|
||||
bun
|
||||
|
||||
(python312.withPackages (ps: with ps; [pip]))
|
||||
(python312.withPackages (ps: with ps; [ pip ]))
|
||||
ruff
|
||||
yt-dlp
|
||||
xkcdpass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue