summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-08-26 16:51:25 +0200
committerAlan Pearce2017-08-26 16:51:25 +0200
commit1899ee2402cb3d9e816af5b5597c4611dc77684f (patch)
tree3e8238cd698c8fd258c3af4f6782adefcfd5fe4b
parent1e0e3d3069b75389773895b9a0f8ed0282fa124a (diff)
downloadnixfiles-1899ee2402cb3d9e816af5b5597c4611dc77684f.tar.lz
nixfiles-1899ee2402cb3d9e816af5b5597c4611dc77684f.tar.zst
nixfiles-1899ee2402cb3d9e816af5b5597c4611dc77684f.zip
i3: Use i3status from current-system
It's not feasible to use the nix derivation dependency, because the i3
config file is not generated by NixOS, so use the current system
version instead.  This means that it needs to be added to systemPackages.
-rw-r--r--i3/.config/i3/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 952f1203..bc7f1aef 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -191,7 +191,7 @@ bindsym $mod+Shift+r mode "resize"
 # finds out, if available)
 bar {
   position top
-  status_command /nix/store/3pwsp50dpzhs4myp1jm21w9gqw5wi8la-i3status-2.11/bin/i3status -c ~/.config/i3status/config
+  status_command /run/current-system/sw/bin/i3status -c ~/.config/i3status/config
   colors {
     background $base00
     separator  $base03