Add Boxxy and rewrite ~/.mozilla to XDG_DATA_HOME
parent
bc3d0419d1
commit
2157188bc8
@ -0,0 +1,21 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config.xdg.configFile = {
|
||||
"boxxy/boxxy.yaml".text = builtins.toJSON {
|
||||
rules = [
|
||||
{
|
||||
name = "Test tmux";
|
||||
target = "~/.tmux.conf";
|
||||
rewrite = "~/.cache/tmux.conf";
|
||||
mode = "file";
|
||||
}
|
||||
{
|
||||
name = ".mozilla Directory";
|
||||
target = "~/.mozilla";
|
||||
rewrite = "~/.local/share/mozilla";
|
||||
mode = "directory";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{ rustPlatform, fetchFromGitHub, lib, ... }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "boxxy";
|
||||
version = "0.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "nyxkrage";
|
||||
rev = "e660a79bcf2aba361e002cdf8845ca1444bb6ad5";
|
||||
sha256 = "sha256-LGLkGJGKDcda71TWjzn9Q8kLqTyxGvPaPBJtirV+xDc=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Psc9qErqi3aangNowXxhkEXphFCR7pp+DKTKtk6tMo0=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "boxxy puts bad Linux applications in a box with only their files.";
|
||||
homepage = "https://github.com/queer/boxxy";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.nyxkrage ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue