Refactor: delete overkill layers

This commit is contained in:
DuN0z 2025-10-18 06:39:16 +02:00
parent 94fc05580d
commit 1e2e108797
6 changed files with 85 additions and 119 deletions

View file

@ -3,9 +3,29 @@ let
globals = import ../../config/globals.nix;
in {
imports = [
../../profiles/workstation-bspwm.nix
../../modules/hardware/bepovim.nix
../../modules/common/nix.nix
../../modules/hardware/bepovim.nix
../modules/desktop/xorg-bspwm.nix
../modules/common/base.nix
../modules/common/fonts.nix
../modules/common/networking.nix
../modules/common/plymouth.nix
../modules/common/audio.nix
../modules/common/bluetooth.nix
../modules/common/gaming.nix
../modules/common/lockscreen.nix
../modules/common/energy.nix
../modules/common/qemu.nix
../modules/common/smtp.nix
../modules/hardware/firmware.nix
../modules/hardware/gpu-amd.nix
../modules/hardware/sensors-zenpower.nix
../modules/services/printing.nix
../modules/virtual/kvm-amd.nix
../modules/virtual/vfio.nix
];
networking.hostName = "pennsardin";
@ -17,8 +37,35 @@ in {
environment.systemPackages = with pkgs; [
lm_sensors
btrfs-progs
cifs-utils
evtest
git
vim
wget
curl
ripgrep
fd
pciutils
usbutils
p7zip
gdu
glances
parted
tmux
xorg.xauth
xorg.xkbcomp
xorg.xev
];
services.openssh = {
enable = true;
settings = {
X11Forwarding = true;
X11DisplayOffset = 10;
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4";

View file

@ -12,9 +12,18 @@ in {
imports = [
# Include the results of the hardware scan.
./hardware.nix
../../profiles/server-selfhosted.nix
../../modules/services/ftp.nix
../../modules/common/nix.nix
../../modules/roles/server.nix
../../modules/common/base.nix
../../modules/common/smtp.nix
../../modules/common/qemu.nix
../../modules/services/goaccess.nix
../../modules/services/wikijs.nix
../../modules/services/forgejo.nix
../../modules/sites/porzh.me.nix
../../modules/sites/levr.porzh.me.nix
];
# Bootloader.
@ -48,7 +57,32 @@ in {
environment.systemPackages = with pkgs; [
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git
btrfs-progs
cifs-utils
lm_sensors
wakeonlan
wget
curl
ripgrep
fd
pciutils
usbutils
p7zip
gdu
glances
tmux
];
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PubkeyAuthentication = true;
};
};
networking = {
useNetworkd = true;
firewall.allowedTCPPorts = [22 80 5900 5901 5902];