2024-06-15 11:16:13 +08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../modules/nasp.nix
|
|
|
|
];
|
|
|
|
nasp = {
|
|
|
|
enable = true;
|
|
|
|
gSeries = {
|
|
|
|
enable = true;
|
|
|
|
serial = 17;
|
2024-06-15 12:46:30 +08:00
|
|
|
eth0Name = "eno2";
|
|
|
|
eth1Name = "eno1";
|
2024-06-15 11:16:13 +08:00
|
|
|
eth2Name = "eno4";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
networking.hostId = "c5543d16";
|
2024-09-03 09:50:05 +08:00
|
|
|
security.sudo.extraConfig = ''
|
|
|
|
%nasp ALL = (root) NOPASSWD: /run/wrappers/bin/crontab
|
|
|
|
'';
|
|
|
|
hardware.nvidia.package = lib.mkForce config.boot.kernelPackages.nvidiaPackages.stable;
|
|
|
|
|
2024-06-15 11:16:13 +08:00
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|