Moved some files

This commit is contained in:
FredzyW 2024-06-17 17:53:23 +02:00
parent 2f94e9b5ff
commit 8a26dfc281
33 changed files with 25 additions and 42 deletions

30
shared/dwm.nix Normal file
View file

@ -0,0 +1,30 @@
{ pkgs, lib, myhostname, ... }:
let
dwm = pkgs.dwm.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwm-conf.git";
rev = "eb3015553442df6a92a79d47ff4ace8297edb9cb";
};
nativeBuildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXft
imlib2
xorg.libXinerama
];
});
dwmblocks = if myhostname == "desktop" then pkgs.dwmblocks.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwmblocks.git";
rev = "7c81c55390f2deec2a3804217abe80221ef6f46a";
};
}) else pkgs.dwmblocks.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwmblocks.git";
rev = "a334789ec7b9171a3c8e1fcac2ffe8463ee438dc";
};
});
in
{
home.packages = [ dwm dwmblocks ];
}