diff options
author | Ben Sima <ben@bsima.me> | 2022-12-16 16:23:29 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-12-16 16:23:29 -0500 |
commit | d1cc16ccafa8e4230226efd20a5ae5d373bac305 (patch) | |
tree | 9dfec1a39e91a3c30a7b3d80606b548223bd4ba9 /lib/linux.nix | |
parent | f645808a1449a40d71e3cadd0b5b5bac164d5a7f (diff) |
updates
Diffstat (limited to 'lib/linux.nix')
-rw-r--r-- | lib/linux.nix | 7 |
1 files changed, 5 insertions, 2 deletions
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 |