From 5c7a6d1e968d1550497501b00f061463c1f7df46 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 10 Feb 2022 18:13:51 -0800 Subject: home-manager: set the hostname --- users/fcuny/i3.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users') 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 &"; }; } -- cgit 1.4.1