chore: nf-fmt-nix

This commit is contained in:
arcnmx 2024-05-13 15:13:58 -07:00
parent 7486517713
commit 9903866044
160 changed files with 4570 additions and 3019 deletions

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
fonts.packages = [
pkgs.tamzen
];

View file

@ -14,13 +14,19 @@ in {
hostName = mkOverride 25 name;
nameservers' = [
#{ address = "8.8.8.8"; host = "dns.google"; }
{ address = "1.1.1.1"; host = "cloudflare-dns.com"; }
{ address = "1.0.0.1"; host = "cloudflare-dns.com"; }
{
address = "1.1.1.1";
host = "cloudflare-dns.com";
}
{
address = "1.0.0.1";
host = "cloudflare-dns.com";
}
];
};
# work around https://github.com/NixOS/nixpkgs/issues/132646
system.nssDatabases.hosts = mkIf config.services.resolved.enable (
mkOrder 450 [ "files" ]
mkOrder 450 ["files"]
);
}

View file

@ -23,12 +23,14 @@ in {
lock = importJSON ../../flake.lock;
mapFlake = name: let
node = lock.nodes.${name};
in {
inherit (node.original) type;
inherit (node.locked) lastModified rev narHash;
} // optionalAttrs (node.original.type == "github") {
inherit (node.original) repo owner;
};
in
{
inherit (node.original) type;
inherit (node.locked) lastModified rev narHash;
}
// optionalAttrs (node.original.type == "github") {
inherit (node.original) repo owner;
};
in {
nixpkgs.to = mapFlake "nixpkgs";
arc.to = mapFlake "arcexprs";
@ -40,7 +42,7 @@ in {
};
};
settings = {
allowed-users = [ "@nixbuilder" ];
allowed-users = ["@nixbuilder"];
experimental-features = lib.optional (lib.versionAtLeast config.nix.package.version "2.4") "nix-command flakes";
substituters = [
"https://gensokyo-infrastructure.cachix.org"
@ -67,7 +69,7 @@ in {
};
optimise = {
automatic = mkAlmostDefault true;
dates = mkDefault [ "03:25" ];
dates = mkDefault ["03:25"];
};
};
${