summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-12-16 16:23:29 -0500
committerBen Sima <ben@bsima.me>2022-12-16 16:23:29 -0500
commitd1cc16ccafa8e4230226efd20a5ae5d373bac305 (patch)
tree9dfec1a39e91a3c30a7b3d80606b548223bd4ba9 /lib
parentf645808a1449a40d71e3cadd0b5b5bac164d5a7f (diff)
updates
Diffstat (limited to 'lib')
-rw-r--r--lib/config.nix1
-rw-r--r--lib/linux.nix7
-rw-r--r--lib/packages.nix2
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 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