updates
seems to be the method to nixify a vps on my vps.
This commit is contained in:
parent
968170a677
commit
d96c914844
6 changed files with 42 additions and 90 deletions
|
|
@ -12,21 +12,18 @@
|
|||
./server/hardware-configuration.nix
|
||||
./server/networking.nix
|
||||
./server/security.nix
|
||||
./server/nginx.nix
|
||||
./server/redis.nix
|
||||
./modules/timezone.nix
|
||||
./modules/docker.nix
|
||||
./modules/npm.nix
|
||||
./modules/nixos.nix
|
||||
./modules/appimage.nix
|
||||
./modules/core.nix
|
||||
];
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
boot = {
|
||||
loader.grub.enable = true;
|
||||
initrd.availableKernelModules = ["xen_blkfront" "virtio_blk"];
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = false;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -35,9 +32,8 @@
|
|||
ffmpeg
|
||||
yt-dlp
|
||||
fastfetch
|
||||
zelliq
|
||||
zellij
|
||||
];
|
||||
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
@ -46,11 +42,8 @@
|
|||
};
|
||||
settings.auto-optimise-store = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
fstrim.enable = true;
|
||||
xserver.enable = false;
|
||||
};
|
||||
|
||||
sound.enable = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue