diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-10 18:13:51 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-10 18:13:51 -0800 |
commit | 5c7a6d1e968d1550497501b00f061463c1f7df46 (patch) | |
tree | 8c9e4e5ca976d254342c0fe01b7c233987454ed1 /users | |
parent | nix: fix a bunch of stuff (diff) | |
download | world-5c7a6d1e968d1550497501b00f061463c1f7df46.tar.gz |
home-manager: set the hostname
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/i3.nix | 4 |
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 &"; }; } |