Skip to content

Commit

Permalink
fix: contabo
Browse files Browse the repository at this point in the history
  • Loading branch information
loic-roux-404 committed Jul 14, 2024
1 parent 28eb13a commit 5d1939e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nixos/contabo.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{

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

swapDevices = [ ];

security.sudo.wheelNeedsPassword = true;
security.sudo.wheelNeedsPassword = lib.mkForce true;
security.sudo = {
enable = true;
extraRules = [{
Expand All @@ -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"
Expand Down

0 comments on commit 5d1939e

Please sign in to comment.