mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-05-24 16:51:37 +02:00
modieifed nix config
This commit is contained in:
parent
40eb3353e0
commit
6e9043132f
6 changed files with 109 additions and 28 deletions
nixos
|
@ -6,6 +6,10 @@
|
|||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./../nix.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
# This will add each flake input as a registry
|
||||
# To make nix3 commands consistent with your flake
|
||||
|
@ -14,11 +18,6 @@
|
|||
# This will additionally add your inputs to the system's legacy channels
|
||||
# Making legacy nix commands consistent as well, awesome!
|
||||
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
|
||||
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
trusted-users = [ "root" "thilo" ];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue