We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28eb13a commit 5d1939eCopy full SHA for 5d1939e
nixos/contabo.nix
@@ -1,4 +1,4 @@
1
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
2
{
3
4
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
@@ -8,7 +8,7 @@
8
9
swapDevices = [ ];
10
11
- security.sudo.wheelNeedsPassword = true;
+ security.sudo.wheelNeedsPassword = lib.mkForce true;
12
security.sudo = {
13
enable = true;
14
extraRules = [{
@@ -32,10 +32,6 @@
32
"${pkgs.k3s}/bin/kubectl wait"
33
"${pkgs.k3s}/bin/kubectl api-resources"
34
"${pkgs.k3s}/bin/kubectl version"
35
- "${pkgs.vim}/bin/vim"
36
- "${pkgs.less}/bin/less"
37
- "${pkgs.coreutils}/bin/tail"
38
- "${pkgs.coreutils}/bin/grep"
39
"${pkgs.nettools}/bin/ifconfig"
40
"${pkgs.iproute2}/bin/ip"
41
"${pkgs.iptables}/bin/iptables"
0 commit comments