From d1cc16ccafa8e4230226efd20a5ae5d373bac305 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 16 Dec 2022 16:23:29 -0500 Subject: updates --- lib/config.nix | 1 + lib/linux.nix | 7 +++++-- lib/packages.nix | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/config.nix b/lib/config.nix index a0f7ea0..75b4fb1 100644 --- a/lib/config.nix +++ b/lib/config.nix @@ -5,4 +5,5 @@ permittedInsecurePackages = [ "electron-13.6.9" ]; + cudaSupport = true; } 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 diff --git a/lib/packages.nix b/lib/packages.nix index 9d0251e..dd87cb2 100644 --- a/lib/packages.nix +++ b/lib/packages.nix @@ -61,6 +61,7 @@ in { forgit fossil gcal + git-lfs github-cli gotop hashcash @@ -81,6 +82,7 @@ in { ormolu paperkey pass + pciutils perlPackages.GitAutofixup pianobar pup -- cgit v1.2.3