feat: more random bits

This commit is contained in:
Ashhhleyyy 2024-08-19 12:33:45 +01:00
parent b12f254b90
commit 2a83f54dcc
Signed by: ash
GPG key ID: 83B789081A0878FB
4 changed files with 21 additions and 7 deletions

View file

@ -185,6 +185,7 @@
./roles/coredns ./roles/coredns
./roles/iceshrimp.nix ./roles/iceshrimp.nix
./roles/keycloak.nix ./roles/keycloak.nix
./roles/mc-proxy.nix
./roles/podman.nix ./roles/podman.nix
./roles/postgres.nix ./roles/postgres.nix
./roles/zulip.nix ./roles/zulip.nix

View file

@ -128,10 +128,10 @@
"Mod+C".action = center-column; "Mod+C".action = center-column;
"Mod+Minus".action = set-column-width "-10%"; "Mod+Minus".action = set-column-width "-10%";
"Mod+Plus".action = set-column-width "+10%"; "Mod+Equal".action = set-column-width "+10%";
"Mod+Shift+Minus".action = set-window-height "-10%"; "Mod+Shift+Minus".action = set-window-height "-10%";
"Mod+Shift+Plus".action = set-window-height "+10%"; "Mod+Shift+Equal".action = set-window-height "+10%";
"Print".action = screenshot; "Print".action = screenshot;
"Ctrl+Print".action = screenshot-screen; "Ctrl+Print".action = screenshot-screen;

View file

@ -8,16 +8,16 @@
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "amy"; networking.hostName = "amy";
networking.domain = "serv.ashhhleyyy.dev"; networking.domain = "net.isnt-a.top";
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
services.xserver = { #services.xserver = {
layout = "gb"; # layout = "gb";
xkbVariant = ""; # xkbVariant = "";
}; #};
console.keyMap = "uk"; console.keyMap = "uk";

13
roles/mc-proxy.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 25565 ];
users.users.proxy = {
isNormalUser = false;
isSystemUser = true;
home = "/tmp";
description = "proxy";
group = "proxy";
};
users.groups.proxy = {};
}