added a few things to copyparty config.
This commit is contained in:
parent
8158338ad3
commit
5902d71458
2 changed files with 9 additions and 3 deletions
|
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font.name = "Fira Code";
|
# font.name = "Fira Code";
|
||||||
|
font.name = "Monocraft";
|
||||||
|
# font.name = "Miracode";
|
||||||
themeFile = "gruvbox-dark";
|
themeFile = "gruvbox-dark";
|
||||||
settings = {
|
settings = {
|
||||||
# background_opacity = "0.8";
|
# background_opacity = "0.8";
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,9 @@
|
||||||
defaultvolflags = {
|
defaultvolflags = {
|
||||||
scan = 60;
|
scan = 60;
|
||||||
grid = true;
|
grid = true;
|
||||||
nsort = true;
|
fka = 8;
|
||||||
fk = 8;
|
nospawn = true;
|
||||||
|
assert_root = true;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixpkgs.overlays = [inputs.copyparty.overlays.default];
|
nixpkgs.overlays = [inputs.copyparty.overlays.default];
|
||||||
|
|
@ -30,6 +31,7 @@ in {
|
||||||
e2ts = true;
|
e2ts = true;
|
||||||
shr = "/share";
|
shr = "/share";
|
||||||
shr-adm = "gabe";
|
shr-adm = "gabe";
|
||||||
|
site = "https://files.venberg.xyz";
|
||||||
u2abort = 3;
|
u2abort = 3;
|
||||||
magic = true;
|
magic = true;
|
||||||
df = 5;
|
df = 5;
|
||||||
|
|
@ -41,11 +43,13 @@ in {
|
||||||
no-robots = true;
|
no-robots = true;
|
||||||
md-hist = "v";
|
md-hist = "v";
|
||||||
nsort = true;
|
nsort = true;
|
||||||
|
reflink = true;
|
||||||
log-utc = true;
|
log-utc = true;
|
||||||
ah-alg = "argon2";
|
ah-alg = "argon2";
|
||||||
ah-salt = "ImSaltyAboutNonPersistentSalts";
|
ah-salt = "ImSaltyAboutNonPersistentSalts";
|
||||||
hist = "/var/lib/copyparty";
|
hist = "/var/lib/copyparty";
|
||||||
xff-hdr = "X-Forwarded-For";
|
xff-hdr = "X-Forwarded-For";
|
||||||
|
usernames = true;
|
||||||
rproxy = 1;
|
rproxy = 1;
|
||||||
};
|
};
|
||||||
accounts = lib.mkIf (inputs ? nix-secrets) (
|
accounts = lib.mkIf (inputs ? nix-secrets) (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue