Port Kurin's changes
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
hasGui = config.services.dbus.implementation == "dbus";
|
||||
{
|
||||
imports = [
|
||||
./direnv.nix
|
||||
@@ -5,7 +8,7 @@
|
||||
./virt-manager.nix
|
||||
];
|
||||
|
||||
programs.wireshark.enable = true;
|
||||
programs.wireshark.enable = hasGui;
|
||||
|
||||
home-manager.sharedModules = [
|
||||
./home
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
hasGui = config.services.dbus.implementation == "dbus";
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Languages
|
||||
@@ -8,7 +10,5 @@
|
||||
just
|
||||
nodejs
|
||||
gcc
|
||||
|
||||
wireshark
|
||||
];
|
||||
] ++ (if hasGui then [pkgs.wireshark-qt] else []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user