mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
nixfmt changes
This commit is contained in:
parent
36176f647c
commit
f25c8638ee
36 changed files with 133 additions and 135 deletions
|
|
@ -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
|
||||
#
|
||||
|
|
@ -51,8 +51,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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue