65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{ inputs, config, lib, pkgs, outputs, configLib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
# Import core options
|
|
./hardware-configuration.nix
|
|
../common/core
|
|
|
|
# Import optional options
|
|
../common/optional/openssh
|
|
|
|
# Create users for this host
|
|
../common/users/admin
|
|
|
|
];
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
outputs.overlays.additions
|
|
outputs.overlays.modifications
|
|
outputs.overlays.unstable-packages
|
|
];
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.device = "/dev/vda";
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "uk";
|
|
useXkbConfig = false;
|
|
};
|
|
|
|
services.printing.enable = true;
|
|
|
|
services.libinput.enable = true;
|
|
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
};
|
|
|
|
hardware = {
|
|
opengl.enable = true;
|
|
nvidia.modesetting.enable = true;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|
|
|