fixed systemwide nixconf

This commit is contained in:
Primrose 2024-07-24 23:08:38 +02:00
parent b49def46ac
commit 6e756eabae
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 5 additions and 11 deletions

View file

@ -1,13 +1,6 @@
{ pkgs, ... }:
{
nix = {
extraOptions = ''
experimental-features = nix-command flakes
allow-import-from-derivation = true
sandbox = true
'';
};
{
security.sudo.extraConfig = ''
Defaults lecture = always
Defaults lecture_file = ${pkgs.writeText "sudo_lecture_file" ''