diff options
author | Karel Kočí <cynerd@email.cz> | 2022-09-15 10:08:12 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-09-15 10:08:12 +0200 |
commit | 7b5f6bd95230c4eaac16d3fc2f02365497bd63d7 (patch) | |
tree | 6815e7a9492211e79a63a6189373d5616268cfbb /nixos | |
parent | 929d898bf77ee0d8f8d4f504483369411e2009da (diff) | |
download | nixos-personal-7b5f6bd95230c4eaac16d3fc2f02365497bd63d7.tar.gz nixos-personal-7b5f6bd95230c4eaac16d3fc2f02365497bd63d7.tar.bz2 nixos-personal-7b5f6bd95230c4eaac16d3fc2f02365497bd63d7.zip |
Add few packages and allow access to the dhcpcd for wheel
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/desktop.nix | 3 | ||||
-rw-r--r-- | nixos/modules/develop.nix | 2 | ||||
-rw-r--r-- | nixos/modules/generic.nix | 4 |
3 files changed, 7 insertions, 2 deletions
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; |