sfdf
This commit is contained in:
Generated
+53
-1
@@ -85,12 +85,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1716044191,
|
||||||
|
"narHash": "sha256-V/JRCf9iOKGMmmMCs/K1n+vOP01Y7ZPJntHXxDEvzWM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "fdfdc52e33e11634eb7b37f65e96e63d1beb7e45",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"impermanence": "impermanence",
|
"impermanence": "impermanence",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"yandex-music": "yandex-music"
|
"yandex-music": "yandex-music",
|
||||||
|
"zapret": "zapret"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
@@ -139,6 +156,41 @@
|
|||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.53.1.exe"
|
"url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.53.1.exe"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"zapret": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"zapret-src": "zapret-src"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1749370165,
|
||||||
|
"narHash": "sha256-skgsajlryANTvfQqvOj/NMmQLFBI4a9VNspJxmAvwa8=",
|
||||||
|
"owner": "n0vvvonder",
|
||||||
|
"repo": "zapret-flake.nix",
|
||||||
|
"rev": "a5351f94da0f022ee0f18fc05819591014d59079",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "n0vvvonder",
|
||||||
|
"repo": "zapret-flake.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zapret-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1724486371,
|
||||||
|
"narHash": "sha256-wnjRnUhdPBHrrk+LwhEbmKm1OyfwcLCbf2H4morw5vY=",
|
||||||
|
"owner": "bol-van",
|
||||||
|
"repo": "zapret",
|
||||||
|
"rev": "faea968cd4ab24887236051ad4bcbbd0a824c734",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "bol-van",
|
||||||
|
"repo": "zapret",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -13,9 +13,10 @@
|
|||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
zapret.url = "github:n0vvvonder/zapret-flake.nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, impermanence, home-manager, ...}@inputs: {
|
outputs = { self, nixpkgs, impermanence, home-manager, zapret, ...}@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Ratchet = nixpkgs.lib.nixosSystem {
|
Ratchet = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -49,6 +50,7 @@
|
|||||||
./desktop/gnome.nix
|
./desktop/gnome.nix
|
||||||
./misc/disable_suspend.nix
|
./misc/disable_suspend.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
zapret.nixosModules.zapret
|
||||||
{
|
{
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.yaroslav = import ./home/yaroslav/Aphelion/Aphelion.nix;
|
home-manager.users.yaroslav = import ./home/yaroslav/Aphelion/Aphelion.nix;
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
services.zapret = {
|
services.zapret2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
params = [
|
# configureFirewall = false;
|
||||||
"--dpi-desync=fake,disorder2"
|
};
|
||||||
"--dpi-desync-ttl=1"
|
|
||||||
"--dpi-desync-autottl=2"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user