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