2022-12-15 13:29:31 +00:00
|
|
|
{ pkgs, config, ... }:
|
2022-01-24 21:40:22 +00:00
|
|
|
{
|
2022-01-25 00:13:49 +00:00
|
|
|
imports = [
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
2024-02-03 21:47:03 +00:00
|
|
|
./tunnel-backbone.nix
|
|
|
|
./tunnel-cccda.nix
|
2022-02-06 23:00:41 +00:00
|
|
|
../../roles/all.nix
|
2022-06-05 00:12:55 +00:00
|
|
|
../../modules/luks.nix
|
|
|
|
../../modules/grub.nix
|
2022-01-25 00:13:49 +00:00
|
|
|
];
|
2022-01-24 21:40:22 +00:00
|
|
|
|
2022-02-16 19:45:12 +00:00
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
2022-01-26 19:46:10 +00:00
|
|
|
|
2022-06-05 00:12:55 +00:00
|
|
|
time.hardwareClockInLocalTime = true; #Be compatible with Windows Dualboot
|
2022-02-23 22:42:42 +00:00
|
|
|
|
2022-12-15 13:29:31 +00:00
|
|
|
networking.useNetworkd = true;
|
2022-01-24 21:40:22 +00:00
|
|
|
networking.useDHCP = false;
|
2022-01-25 00:31:56 +00:00
|
|
|
networking.hostName = "cray"; # Define your hostname.
|
2022-02-14 20:50:52 +00:00
|
|
|
networking.interfaces.enp4s0.useDHCP = true;
|
|
|
|
networking.interfaces.enp4s0.wakeOnLan.enable = true;
|
2022-01-24 21:40:22 +00:00
|
|
|
|
2022-01-25 00:31:56 +00:00
|
|
|
# Enable CUPS
|
2022-01-24 21:40:22 +00:00
|
|
|
services.printing.enable = true;
|
2022-01-26 19:45:40 +00:00
|
|
|
services.printing.drivers = with pkgs; [ splix ];
|
2022-01-24 21:40:22 +00:00
|
|
|
|
2022-08-25 21:47:46 +00:00
|
|
|
# AMD OpenGL Support
|
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
2024-11-19 21:27:00 +00:00
|
|
|
rocmPackages.clr.icd
|
2022-08-25 21:47:46 +00:00
|
|
|
];
|
|
|
|
|
2022-01-24 21:40:22 +00:00
|
|
|
system.stateVersion = "21.11"; # Did you read the comment?
|
|
|
|
|
|
|
|
}
|
|
|
|
|