mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
vendor-reset less cursed, moved scripts
This commit is contained in:
parent
b140857acd
commit
17cbf19db4
4 changed files with 2 additions and 8 deletions
|
|
@ -31,9 +31,9 @@ in {
|
|||
interval = 3600;
|
||||
on-click = "xdg-open 'https://google.com/search?q=weather'";
|
||||
exec = "nix-shell --command 'python ${
|
||||
../../../../scripts/weather.py
|
||||
../../../../scripts/weather/weather.py
|
||||
} ${secrets.profiles.sway.city} ${secrets.profiles.sway.api_key}' ${
|
||||
../../../../scripts/weather.nix
|
||||
../../../../scripts/weather}
|
||||
}";
|
||||
};
|
||||
cpu = { format = " {usage}%"; };
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ let
|
|||
rev = "225a49a40941e350899e456366265cf82b87ad25";
|
||||
sha256 =
|
||||
"071zd8slra0iqsvzqpp6lcvg5dql5hkn161gh9aq34wix7pwzbn5";
|
||||
sources = import ../../nix/sources.nix;
|
||||
unstable = import sources.nixpkgs-unstable { inherit pkgs; };
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "vendor-reset-${version}-${kernel.version}";
|
||||
|
|
@ -19,10 +17,6 @@ in stdenv.mkDerivation {
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
unstable.pkgs.binutils
|
||||
unstable.pkgs.libelf
|
||||
];
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
makeFlags = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue