diff options
-rw-r--r-- | lib/config.nix | 1 | ||||
-rw-r--r-- | lib/linux.nix | 7 | ||||
-rw-r--r-- | lib/packages.nix | 2 |
3 files changed, 8 insertions, 2 deletions
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 7da8c2f..a4af6c2 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -2,7 +2,9 @@ let inherit (import ./const.nix) fontSize homedir gpgid; - 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}"); base16-scheme = "atelier-sulphurpool"; base16-scheme-filename = lib.strings.concatStrings (lib.strings.splitString "-" base16-scheme); theme = lib.removeSuffix "\n" (builtins.readFile "${homedir}/.local/share/xtheme"); @@ -84,7 +86,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 ba5c638..6761da3 100644 --- a/lib/packages.nix +++ b/lib/packages.nix @@ -62,6 +62,7 @@ in { forgit fossil gcal + git-lfs git-revise github-cli gotop @@ -84,6 +85,7 @@ in { ormolu paperkey pass + pciutils perlPackages.GitAutofixup pianobar pup |