nix-dotfiles/hosts/magus.nix
alsaiduq-lab d96c914844 updates
seems to be the method to nixify a vps on my vps.
2026-01-02 19:12:50 -07:00

49 lines
860 B
Nix

{
config,
pkgs,
lib,
inputs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./server/disk-config.nix
./server/hardware-configuration.nix
./server/networking.nix
./server/security.nix
./server/redis.nix
./modules/timezone.nix
./modules/docker.nix
./modules/npm.nix
./modules/nixos.nix
./modules/appimage.nix
];
system.stateVersion = "25.11";
boot.loader.grub = {
enable = true;
efiSupport = false;
};
environment.systemPackages = with pkgs; [
git
btop
ffmpeg
yt-dlp
fastfetch
zellij
];
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.auto-optimise-store = true;
};
services = {
fstrim.enable = true;
xserver.enable = false;
};
}