From 7b5f6bd95230c4eaac16d3fc2f02365497bd63d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 15 Sep 2022 10:08:12 +0200 Subject: Add few packages and allow access to the dhcpcd for wheel --- nixos/modules/desktop.nix | 3 +++ nixos/modules/develop.nix | 2 +- nixos/modules/generic.nix | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index bff2c1e..898db66 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -103,6 +103,9 @@ in { gst_all_1.gst-plugins-ugly gst_all_1.gst-plugins-viperfx + # Latex + texlive.combined.scheme-full + ] ++ (optionals cnf.laptop [ # Power management powertop diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix index 51e106a..70c8910 100644 --- a/nixos/modules/develop.nix +++ b/nixos/modules/develop.nix @@ -32,7 +32,7 @@ in { # Shell dash # Posix shell bats - shellcheck + shellcheck shfmt jq yq # Python diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 6469a9d..04957b1 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -49,7 +49,7 @@ in { gnumake exfat exfatprogs nix-index - usbutils + usbutils pciutils # NCurses tools htop iotop #glances @@ -112,6 +112,8 @@ in { security.sudo.extraRules = [ { groups = [ "wheel" ]; commands = [ "ALL" ]; } ]; + networking.dhcpcd.extraConfig = "controlgroup wheel"; + environment.etc."dhcpcd.conf".text = "controlgroup wheel"; services.openssh.enable = true; -- cgit v1.2.3