nixos-config/install/min-config.nix

51 lines
944 B
Nix
Raw Normal View History

2019-09-13 02:35:38 +04:00
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
fileSystems = {
"/" = {
options = [ "noatime" "ssd" "discard" "compress=zstd" ];
};
};
swapDevices = [
{ label = "swap"; }
];
networking = {
hostName = "nixos";
firewall.enable = false;
2019-09-13 14:26:02 +04:00
networkmanager.enable = false;
wireless.enable = true;
wireless.userControlled.enable = true;
2019-09-13 02:35:38 +04:00
};
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
};
time.timeZone = "Europe/Volgograd";
environment.systemPackages = with pkgs; [
wget vim git
];
users.users.alukard = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
system.stateVersion = "19.03";
}