server cleanup

This commit is contained in:
k 2024-10-19 16:01:42 +00:00
parent d5c6104c59
commit 91e2e87ed6
3 changed files with 7 additions and 66 deletions

View File

@ -28,7 +28,8 @@
home-manager = { users = { "k" = import ./home.nix; }; }; home-manager = { users = { "k" = import ./home.nix; }; };
environment.systemPackages = with pkgs; [ microcodeIntel ]; environment.systemPackages = with pkgs; [ microcodeIntel ];
hardware.opengl = {
hardware.graphics = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-compute-runtime intel-compute-runtime

View File

@ -1,43 +1,11 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
nixpkgs.config.allowUnfree = true; imports = [ ../home/home_common.nix ];
home = { home = {
username = "k"; packages = with pkgs; [
homeDirectory = "/home/k"; docker
stateVersion = "23.11"; docker-compose
enableNixpkgsReleaseCheck = false; ];
packages = [ pkgs.neovim pkgs.btop ];
}; };
programs = {
git = {
enable = true;
userName = "k";
userEmail = "markers711@gmail.com";
};
starship.enable = true;
zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}];
};
};
services.syncthing.enable = true;
} }

View File

@ -61,16 +61,6 @@
}; };
}; };
ntfy-sh = {
enable = true;
settings = {
listen-http = ":8004";
auth-file = "/var/lib/ntfy.db";
auth-default-access = "read-only";
base-url = "https://ntfy.dhilton.xyz";
};
};
searx = { searx = {
enable = true; enable = true;
settings = { settings = {
@ -101,15 +91,6 @@
}; };
}; };
"ntfy.dhilton.xyz" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8004";
proxyWebsockets = true;
};
};
"jel.dhilton.xyz" = { "jel.dhilton.xyz" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
@ -119,15 +100,6 @@
}; };
}; };
"puf.dhilton.xyz" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8002";
proxyWebsockets = true;
};
};
"srx.dhilton.xyz" = { "srx.dhilton.xyz" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;