From 5d1939e7635c2ace19805ca09e7f5f5dd5011b46 Mon Sep 17 00:00:00 2001 From: loic-roux-404 Date: Sun, 14 Jul 2024 23:06:50 +0200 Subject: [PATCH] fix: contabo --- nixos/contabo.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nixos/contabo.nix b/nixos/contabo.nix index 7b4c5b4..97e5140 100644 --- a/nixos/contabo.nix +++ b/nixos/contabo.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ]; @@ -8,7 +8,7 @@ swapDevices = [ ]; - security.sudo.wheelNeedsPassword = true; + security.sudo.wheelNeedsPassword = lib.mkForce true; security.sudo = { enable = true; extraRules = [{ @@ -32,10 +32,6 @@ "${pkgs.k3s}/bin/kubectl wait" "${pkgs.k3s}/bin/kubectl api-resources" "${pkgs.k3s}/bin/kubectl version" - "${pkgs.vim}/bin/vim" - "${pkgs.less}/bin/less" - "${pkgs.coreutils}/bin/tail" - "${pkgs.coreutils}/bin/grep" "${pkgs.nettools}/bin/ifconfig" "${pkgs.iproute2}/bin/ip" "${pkgs.iptables}/bin/iptables"