Files
NixVM/nixos/configuration.nix
2025-11-20 16:56:52 +01:00

46 lines
981 B
Nix

{pkgs, ...}: {
imports = [
./hardware-configuration.nix
./modules/users/users.nix
./modules/system/networking.nix
./modules/system/locale.nix
];
# Bootloader.
boot.loader.grub = {
enable = true;
device = "/dev/vda";
useOSProber = true;
};
# Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim
wget
cifs-utils
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
system.stateVersion = "25.05"; # Did you read the comment?
}