summary refs log tree commit diff stats
path: root/hm/yambar/default.nix
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-21 16:59:46 +0200
committerSilas Schöffel <sils@sils.li>2024-04-21 17:01:51 +0200
commit76c67b975ce8924c14dd82d448abaff95c1a5bda (patch)
tree39290c567266a9f734d4f6bbe73be2f7456681ad /hm/yambar/default.nix
parentsils: make networking toggleable (diff)
downloadnix-config-76c67b975ce8924c14dd82d448abaff95c1a5bda.tar.gz
nix-config-76c67b975ce8924c14dd82d448abaff95c1a5bda.zip
treewide: remove all traces of intellectual property of others
Diffstat (limited to 'hm/yambar/default.nix')
-rw-r--r--hm/yambar/default.nix49
1 files changed, 0 insertions, 49 deletions
diff --git a/hm/yambar/default.nix b/hm/yambar/default.nix
deleted file mode 100644
index 814174c..0000000
--- a/hm/yambar/default.nix
+++ /dev/null
@@ -1,49 +0,0 @@
-{
-  nixosConfig,
-  sysLib,
-  system,
-  pkgs,
-  grades,
-  yambar_cpu,
-  yambar_memory,
-  ...
-}: let
-  makeScript = {
-    file,
-    dependencies,
-    ...
-  }:
-    sysLib.makeShellScriptWithLibrary {
-      name = "${builtins.baseNameOf file}";
-      script = file;
-      dependencies = dependencies ++ (builtins.attrValues {inherit (pkgs) dash;});
-    }
-    + "/bin/${builtins.baseNameOf file}";
-in {
-  xdg.configFile."yambar/config.yml".source = pkgs.substituteAll {
-    src = ./config/laptop.yml;
-
-    backlight = "intel_backlight";
-    volume_script = makeScript {
-      dependencies = builtins.attrValues {inherit (pkgs) pulseaudio gawk coreutils;};
-      file = ./scripts/sound-volume;
-    };
-    grade_average_script = makeScript {
-      dependencies =
-        [
-          grades.outputs.packages.${system}.default
-        ]
-        ++ (builtins.attrValues {inherit (pkgs) coreutils gawk;});
-      file = ./scripts/grades-average;
-    };
-    cpu_script = yambar_cpu.app.${system}.default.program;
-    memory_script = yambar_memory.app.${system}.default.program;
-
-    disk_script = makeScript {
-      dependencies = builtins.attrValues {inherit (pkgs) gawk btrfs-progs coreutils;};
-      file = ./scripts/disk;
-    };
-  };
-}
-# vim: ts=2
-