added zapret.nix

This commit is contained in:
2025-06-08 10:36:13 +03:00
parent f3150a6c99
commit 72f0c6057c
8 changed files with 43 additions and 39 deletions
+5 -5
View File
@@ -42,11 +42,11 @@
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/home/yaroslav" =
{ device = "none";
fsType = "tmpfs";
options = [ "defaults" "size=1G" "uid=1000" "gid=100" ];
};
# fileSystems."/home/yaroslav" =
# { device = "none";
# fsType = "tmpfs";
# options = [ "defaults" "size=1G" "uid=1000" "gid=100" ];
# };
fileSystems."/vol/Trash" = {
device = "/dev/mapper/yarikpc-trash";
fsType = "ext4";
+4 -1
View File
@@ -8,6 +8,8 @@
".local/share/nicotine"
".local/share/mpd"
".local/share/AyuGramDesktop"
".config/dconf"
".mozilla"
".local/state"
# XDG User directories
"Downloads"
@@ -15,13 +17,14 @@
"Pictures"
"Documents"
"Videos"
"some-trash"
".cert"
".ssh"
".steam"
];
files = [
".p10k.zsh"
".zhistory"
".zsh_history"
];
};
};
+11
View File
@@ -0,0 +1,11 @@
{ ... }:
{
services.zapret = {
enable = true;
params = [
"--dpi-desync=fake,disorder2"
"--dpi-desync-ttl=1"
"--dpi-desync-autottl=2"
];
};
}