Files
nix-config/hosts/server-gpu/configuration.nix

38 lines
846 B
Nix

{
config,
pkgs,
lib,
...
}: {
imports = [
./hardware-configuration.nix
../../system/system.nix
../meta.nix
../../extras/ssh.nix
../../extras/gpu.nix
];
config = {
networking.hostName = "server-gpu"; # Define your hostname.
res = "2560x1440";
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
users.synchronous.imports = [../../home/home.nix];
};
# Bootloader.
# boot.loader.grub.enable = true;
# boot.loader.grub.device = "/dev/nvme0n1";
# boot.loader.grub.useOSProber = true;
# boot.loader.grub.version = 2;
# services.logind.lidSwitchExternalPower = "ignore";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = false;
};
}