Files
NixVM/nixos/configuration.nix

36 lines
715 B
Nix
Raw Permalink Normal View History

2025-11-19 20:52:22 +01:00
{pkgs, ...}: {
imports = [
./hardware-configuration.nix
./modules/users/users.nix
2025-11-20 16:33:42 +01:00
./modules/system/networking.nix
./modules/system/locale.nix
2025-11-19 20:52:22 +01:00
];
2025-11-19 19:30:42 +01:00
# Bootloader.
2025-11-19 20:52:22 +01:00
boot.loader.grub = {
enable = true;
device = "/dev/vda";
useOSProber = true;
};
2025-11-19 19:30:42 +01:00
# 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
2025-11-20 16:56:52 +01:00
cifs-utils
2025-11-19 19:30:42 +01:00
];
# Enable the OpenSSH daemon.
services.openssh.enable = true;
system.stateVersion = "25.05"; # Did you read the comment?
}