Skip to content

Commit 5d1939e

Browse files
committed
fix: contabo
1 parent 28eb13a commit 5d1939e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

nixos/contabo.nix

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ pkgs, ... }:
1+
{ pkgs, lib, ... }:
22
{
33

44
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
@@ -8,7 +8,7 @@
88

99
swapDevices = [ ];
1010

11-
security.sudo.wheelNeedsPassword = true;
11+
security.sudo.wheelNeedsPassword = lib.mkForce true;
1212
security.sudo = {
1313
enable = true;
1414
extraRules = [{
@@ -32,10 +32,6 @@
3232
"${pkgs.k3s}/bin/kubectl wait"
3333
"${pkgs.k3s}/bin/kubectl api-resources"
3434
"${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"
3935
"${pkgs.nettools}/bin/ifconfig"
4036
"${pkgs.iproute2}/bin/ip"
4137
"${pkgs.iptables}/bin/iptables"

0 commit comments

Comments
 (0)