Initial commit

This commit is contained in:
Aleksandr 2024-08-05 20:53:43 +03:00
commit 95ab35975a
27 changed files with 446 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{
imports = [
./network
./graphics.nix
./sops.nix
./users.nix
];
}

View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.desktopManager.plasma6 = {
enable = true;
};
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.xserver.xkb.layout = "us";
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.plasma6.excludePackages = with pkgs.kdePackages; [
plasma-browser-integration
konsole
oxygen
];
}

View file

@ -0,0 +1,16 @@
{
imports = [
./firewall.nix
./ssh.nix
./vpn
];
networking.networkmanager.enable = true;
networking.search = [
"8.8.8.8"
"8.8.4.4"
];
networking.hostName = "lil-maid";
}

View file

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

View file

@ -0,0 +1,9 @@
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
Compression = "yes";
};
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./hft.nix
];
}

View file

@ -0,0 +1,4 @@
{ config, ... }:
{
systemd.services.openvpn-hft.wants = [ "shadowsocks-hft.service" ];
}

View file

@ -0,0 +1,8 @@
{
maid.sops = {
enable = true;
work.enable = true;
viendesu.enable = true;
};
}

View file

@ -0,0 +1,5 @@
{
maid.masters.nero = {
enable = true;
};
}