feat: tweak nix settings for newer features

This commit is contained in:
steveej 2023-01-26 11:27:09 +01:00
parent 426390797a
commit 18065c691c
3 changed files with 8 additions and 0 deletions

View file

@ -15,6 +15,10 @@ in {
permittedInsecurePackages = [
"electron-17.4.1"
];
nix.settings = {
experimental-features =
[ "nix-command" "flakes" "impure-derivations" "ca-derivations" ];
};
home.keyboard = {

View file

@ -13,6 +13,8 @@ in {
"cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE="
"cache.holo.host-2:ZJCkX3AUYZ8soxTLfTb60g+F3MkWD7hkH9y8CgqwhDQ="
];
settings = { extra-experimental-features = [ "impure-derivations" ]; };
};
# TASK: new device

View file

@ -10,4 +10,6 @@ in {
uid = 1001;
openssh.authorizedKeys.keys = keys.users.steveej.openssh;
};
nix.settings.trusted-users = [ "steveej" ];
}