Initial commit
This commit is contained in:
commit
1518f7007b
39 changed files with 1779 additions and 0 deletions
4
lil-maid/modules/boot.nix
Normal file
4
lil-maid/modules/boot.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
12
lil-maid/modules/default.nix
Normal file
12
lil-maid/modules/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
imports = [
|
||||
./net.nix
|
||||
./firewall.nix
|
||||
./boot.nix
|
||||
./steam.nix
|
||||
./fonts.nix
|
||||
./social.nix
|
||||
./stash.nix
|
||||
./net.nix
|
||||
];
|
||||
}
|
5
lil-maid/modules/firewall.nix
Normal file
5
lil-maid/modules/firewall.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
enable = false;
|
||||
};
|
||||
}
|
6
lil-maid/modules/fonts.nix
Normal file
6
lil-maid/modules/fonts.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
}
|
22
lil-maid/modules/net.nix
Normal file
22
lil-maid/modules/net.nix
Normal 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}"
|
||||
# ];
|
||||
# };
|
||||
}
|
16
lil-maid/modules/social.nix
Normal file
16
lil-maid/modules/social.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Slack
|
||||
slack
|
||||
|
||||
# Telegram
|
||||
telegram-desktop
|
||||
|
||||
# # Discord
|
||||
# (discord.override {
|
||||
# withOpenASAR = true;
|
||||
# withVencord = true;
|
||||
# })
|
||||
];
|
||||
}
|
50
lil-maid/modules/stash.nix
Normal file
50
lil-maid/modules/stash.nix
Normal 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
|
||||
];
|
||||
}
|
15
lil-maid/modules/steam.nix
Normal file
15
lil-maid/modules/steam.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.xone.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue