aboutsummaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-11 20:42:10 +0200
committerAdrian Kummerlaender2018-07-11 20:42:10 +0200
commit93a53dc19cf1761e3a9ee924cfe146a465a11735 (patch)
tree3217feac19de3dd562fd3992d853e1cbd6ffe5b5 /host
parent5c8176f99c91e31f44848946e12813e2b99be3e9 (diff)
downloadnixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.gz
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.bz2
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.lz
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.xz
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.zst
nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.zip
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.
Diffstat (limited to 'host')
-rw-r--r--host/asterix.nix14
-rw-r--r--host/obelix.nix7
2 files changed, 21 insertions, 0 deletions
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
+ ];
+}