aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/networkmanager-dmenu.nix13
-rw-r--r--host/asterix.nix8
-rw-r--r--host/athena.nix2
3 files changed, 17 insertions, 6 deletions
diff --git a/gui/networkmanager-dmenu.nix b/gui/networkmanager-dmenu.nix
new file mode 100644
index 0000000..519125d
--- /dev/null
+++ b/gui/networkmanager-dmenu.nix
@@ -0,0 +1,13 @@
+{ pkgs, ... }:
+
+{
+ home.packages = [ pkgs.networkmanager_dmenu ];
+
+ home.file.".config/networkmanager-dmenu/condig.ini".text = ''
+ [dmenu]
+ dmenu_command = rofi
+ rofi_highlight = True
+ [editor]
+ gui_if_available = True
+ '';
+}
diff --git a/host/asterix.nix b/host/asterix.nix
index 1594c6f..419f91d 100644
--- a/host/asterix.nix
+++ b/host/asterix.nix
@@ -4,12 +4,10 @@
imports = [
../gui/default.nix
../gui/autorandr.nix
+ ../gui/networkmanager-dmenu.nix
];
- home.packages = let
- mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };
- in [
- pkgs.networkmanager_dmenu
- pkgs.acpi
+ home.packages = with pkgs; [
+ acpi
];
}
diff --git a/host/athena.nix b/host/athena.nix
index 6ebe90d..d17e618 100644
--- a/host/athena.nix
+++ b/host/athena.nix
@@ -3,10 +3,10 @@
{
imports = [
../gui/default.nix
+ ../gui/networkmanager-dmenu.nix
];
home.packages = with pkgs; [
- networkmanager_dmenu
acpi
xorg.xbacklight
];