From d1cc16ccafa8e4230226efd20a5ae5d373bac305 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 16 Dec 2022 16:23:29 -0500 Subject: updates --- lib/linux.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/linux.nix') diff --git a/lib/linux.nix b/lib/linux.nix index f5bad73..15ea28a 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -2,7 +2,9 @@ let homedir = builtins.getEnv "HOME"; - hostname = lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname); + getHostname = pkgs.runCommand "hostname" {} + "${pkgs.hostname}/bin/hostname > $out"; + hostname = lib.strings.removeSuffix "\n" (builtins.readFile "${getHostname}"); gpgid = "66A6AD150399D970DCA4C4E6C8218B7D0BFDECCD"; base16-scheme = "atelier-sulphurpool"; base16-scheme-filename = lib.strings.concatStrings (lib.strings.splitString "-" base16-scheme); @@ -85,7 +87,8 @@ in pavucontrol pinentry tdesktop - tor-browser-bundle-bin + # texlive.combined.scheme-full + #tor-browser-bundle-bin usbutils vlc xbindkeys -- cgit v1.2.3