Initial commit

This commit is contained in:
Aleksandr 2024-12-17 00:22:23 +03:00
commit 1518f7007b
39 changed files with 1779 additions and 0 deletions

View file

@ -0,0 +1,4 @@
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}

View file

@ -0,0 +1,12 @@
{
imports = [
./net.nix
./firewall.nix
./boot.nix
./steam.nix
./fonts.nix
./social.nix
./stash.nix
./net.nix
];
}

View file

@ -0,0 +1,5 @@
{
networking.firewall = {
enable = false;
};
}

View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
fonts.packages = with pkgs; [
nerdfonts
];
}

22
lil-maid/modules/net.nix Normal file
View file

@ -0,0 +1,22 @@
{
networking.networkmanager.enable = true;
services.ivpn.enable = true;
# services.zapret = {
# enable = true;
# params = [
# "--wf-tcp=443"
# "--wf-udp=443,50000-65535"
# "--dpi-desync=fake,split"
# "--dpi-desync-repeats=3"
# "--dpi-desync-udplen-increment=12"
# "--dpi-desync-udplen-pattern=0xF00F"
# "--dpi-desync-fake-quic=${./zapret/quic_initial_www_google_com.bin}"
# "--dpi-desync-any-protocol"
# "--dpi-desync-cutoff=d3"
# "--dpi-desync-autottl=2"
# "--dpi-desync-fooling=badseq"
# "--dpi-desync-fake-tls=${./zapret/tls_clienthello_www_google_com.bin}"
# ];
# };
}

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Slack
slack
# Telegram
telegram-desktop
# # Discord
# (discord.override {
# withOpenASAR = true;
# withVencord = true;
# })
];
}

View file

@ -0,0 +1,50 @@
{ pkgs, inputs, ... }:
{
imports = [ inputs.vnj.nixosModules.x86_64-linux.default ];
programs.adb.enable = true;
services.vnj =
let
mkCfg = port: {
app = {
secret = "1337";
log_level = "debug";
journal = "/home/nero/vnj";
};
http.listen = "0.0.0.0:${builtins.toString port}";
};
in
{
enable = true;
user = "nero";
instances = {
ru = mkCfg 1337;
};
};
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
obsidian
git
# element-desktop
# monero-gui
emacs
fd
ripgrep
signal-desktop
terraform
pavucontrol
vlc
wine
winetricks
yandex-cloud
qbittorrent
];
fonts.packages = with pkgs; [
fira-code
fira-code-symbols
];
}

View file

@ -0,0 +1,15 @@
{
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
gamescopeSession.enable = true;
};
};
hardware.xone.enable = true;
}