ctucx.git: nixfiles

ctucx' nixfiles

commit eceae1d25fe7d62a93817da955c8a00f97101a16
parent c28dcfdffe178daf1f27ce3863bce7239a4b64f5
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 15 Jul 2022 21:10:47 +0200

programs/cli/utilities: use the same niv on all platforms, add bc
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/configurations/programs/cli/utilities.nix b/configurations/programs/cli/utilities.nix
@@ -1,13 +1,14 @@
 { pkgs, ... }:
 
 let
-  pkgsUnstable = import <nixpkgsUnstable> {};
   phockup      = pkgs.callPackage ../../../pkgs/phockup.nix {};
 
 in {
   home-manager.users.leah = {
     home = {
       packages = with pkgs; [
+        niv
+
         wget
         curl
         rsync

@@ -15,13 +16,14 @@ in {
         yt-dlp
         (pkgs.writeShellScriptBin "youtube-dl" ''
           exec ${pkgs.yt-dlp}/bin/yt-dlp --compat-options youtube-dl "$@"
-       '')
+        '')
 
         exa
         bat
         ripgrep
         fd
         file
+        bc
 
         age
 

@@ -31,17 +33,13 @@ in {
 
         phockup
       ] ++ (if pkgs.stdenv.isLinux then [
-        niv
-
         usbutils
         pciutils
 
         lm_sensors
 
         gptfdisk
-      ] else [
-        pkgsUnstable.niv
-      ]);
+      ] else []);
     };
 
     programs = {