summaryrefslogtreecommitdiff
path: root/profiles/laptop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/laptop.nix')
-rw-r--r--profiles/laptop.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index 77bc792..8f80cc2 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -4,6 +4,7 @@
{
imports = [
../lib/common.nix
+ ../lib/urxvt.nix
../lib/linux.nix
../lib/emacs.nix
../lib/ssh.nix
@@ -19,6 +20,11 @@
];
};
+ services.polybar.enable = true;
+ services.polybar.script = "polybar top &";
+ srvices.polybar.config."bar/top".monitor = "\${env:MONITOR:HDMI-2}";
+ srvices.polybar.config."bar/top".monitor-fallback = "\${env:MONITOR:eDP-1}";
+
programs.autorandr.enable = true;
programs.autorandr.hooks.postswitch = {