Files
nix/hosts/server/configuration.nix
2025-08-20 22:36:26 +03:00

44 lines
818 B
Nix

{ config, pkgs, lib, ... }:
{
imports = [
./modules/atproto-pds.nix
./modules/cloudflare.nix
../../modules/force.nix
];
# gcc. shit breaks. wtf
environment.sessionVariables.LD_LIBRARY_PATH = "${pkgs.gcc15}/lib";
services.openssh.enable = lib.mkForce true;
environment.systemPackages = with pkgs; [
fastfetch
hyfetch
];
users.users.ocbwoy3 = {
initialPassword = "thisisapassword42069!"; # not the type passwords i use
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.zsh;
};
virtualisation.docker.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 443 8080 25565 ];
allowedUDPPorts = [ ];
};
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
};
system.stateVersion = "23.05"; # DO NOT TOUCH
}