From 93a53dc19cf1761e3a9ee924cfe146a465a11735 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 11 Jul 2018 20:42:10 +0200 Subject: Add host-specific config analogously to nixos_system Enables installation of modem-manager-gui derivation to be restricted to asterix. XMonad config will also get host-specific sections in the future. --- host/asterix.nix | 14 ++++++++++++++ host/obelix.nix | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 host/asterix.nix create mode 100644 host/obelix.nix (limited to 'host') diff --git a/host/asterix.nix b/host/asterix.nix new file mode 100644 index 0000000..7a74307 --- /dev/null +++ b/host/asterix.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + imports = [ + ../gui/default.nix + ]; + + home.packages = let + # only asterix has a 3g modem + modem-manager-gui = import ../gui/pkgs/modem-manager-gui.nix pkgs; + in [ + modem-manager-gui + ]; +} diff --git a/host/obelix.nix b/host/obelix.nix new file mode 100644 index 0000000..bfd3522 --- /dev/null +++ b/host/obelix.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + imports = [ + ../gui/default.nix + ]; +} -- cgit v1.2.3