about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-10 18:13:51 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-10 18:13:51 -0800
commit5c7a6d1e968d1550497501b00f061463c1f7df46 (patch)
tree8c9e4e5ca976d254342c0fe01b7c233987454ed1 /users/fcuny
parentnix: fix a bunch of stuff (diff)
downloadworld-5c7a6d1e968d1550497501b00f061463c1f7df46.tar.gz
home-manager: set the hostname
Diffstat (limited to '')
-rw-r--r--users/fcuny/i3.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix
index 869fbb4..dd01348 100644
--- a/users/fcuny/i3.nix
+++ b/users/fcuny/i3.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, pkgs, lib, hostname, ... }:
 let
   mod = "Mod4";
 in
@@ -40,6 +40,6 @@ in
   services.polybar = {
     enable = true;
     package = pkgs.polybarFull;
-    script = "polybar --config=${config.xdg.configHome}/polybar/$(hostname -s).ini -r alone &";
+    script = "polybar --config=${config.xdg.configHome}/polybar/${hostname}.ini -r alone &";
   };
 }