about summary refs log tree commit diff
path: root/modules/nixos/profiles/dev/default.nix
blob: 5253e95a59ce5abf3214f3b8d90d7dd3f0dfe6e6 (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