about summary refs log tree commit diff
path: root/modules/nixos/profiles/dev/default.nix
blob: d2411ea153bd40a3bcd3ad2568935bafda2e65e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  config,
  lib,
  pkgs,
  ...
}:
with lib;
let
  cfg = config.nixfiles.modules.profiles.dev;
in
{
  imports = [ ./containers.nix ];

  config = mkIf cfg.enable {
    hm.home.language = {
      collate = "C";
      messages = "C";
    };

    programs.wireshark = {
      enable = true;
      package = pkgs.wireshark;
    };

    my.extraGroups = [
      "kvm"
      "wireshark"
    ];
  };
}

Consider giving Nix/NixOS a try! <3