nixfmt changes

This commit is contained in:
Gerg-L 2023-12-20 22:52:31 -05:00
parent 92c371e3f6
commit 3897ba30d8
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
37 changed files with 131 additions and 131 deletions

View file

@ -1,13 +1,13 @@
inputs:
{lib, config, ...}:
{ lib, config, ... }:
{
#
# Flake registry and $NIX_PATH pinning
#
nix.registry = lib.pipe inputs [
(lib.filterAttrs (_: lib.isType "flake"))
(lib.mapAttrs (_: flake: {inherit flake;}))
(x: x // {nixpkgs.flake = inputs.unstable;})
(lib.mapAttrs (_: flake: { inherit flake; }))
(x: x // { nixpkgs.flake = inputs.unstable; })
];
environment.etc =
@ -17,7 +17,7 @@ inputs:
value.source = value.flake;
})
config.nix.registry;
nix.nixPath = ["/etc/nix/path"];
nix.nixPath = [ "/etc/nix/path" ];
#
# Ignore global registry
#
@ -52,8 +52,8 @@ inputs:
# Use for testing
#
#allow-import-from-derivation = false;
trusted-users = ["root"];
allowed-users = ["@wheel"];
trusted-users = [ "root" ];
allowed-users = [ "@wheel" ];
use-xdg-base-directories = true;
auto-allocate-uids = true;
};