mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nixos: move shared modules to common
This commit is contained in:
parent
6a5e526566
commit
fcf6ed1dff
6 changed files with 11 additions and 13 deletions
23
nix/nixosModules/common/sudo-conf.nix
Normal file
23
nix/nixosModules/common/sudo-conf.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
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