nix: expose nixosModules

This commit is contained in:
Primrose 2024-07-12 23:29:55 +02:00
parent 5b7839dde9
commit 47ec3b0d57
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
5 changed files with 9 additions and 3 deletions

View file

@ -0,0 +1,30 @@
{ 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" ''
λλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλ
λλλλ
λλλ
λλλ
λλλ Beep Boop
λ λλλ Are you sure about this?
λ λλλ Think twice :3
λ λλλ
λ λλλ
λ λλλ
λ λλλλ
λλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλ
''}
'';
}