mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: reworked nixosModules system
This commit is contained in:
parent
6e33ca95eb
commit
a8ddbead87
5 changed files with 28 additions and 14 deletions
30
nix/nixosModules/sudo-conf/default.nix
Normal file
30
nix/nixosModules/sudo-conf/default.nix
Normal 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
|
||||
λ λλλ
|
||||
λ λλλ
|
||||
λ λλλ
|
||||
λ λλλλ
|
||||
|
||||
λλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλλ
|
||||
''}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue