vendor-reset less cursed, moved scripts

This commit is contained in:
kat witch 2021-02-27 13:57:42 +00:00
parent b140857acd
commit 17cbf19db4
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 2 additions and 8 deletions

View file

@ -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}%"; };

View file

@ -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 = [