mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-02-04 17:20:02 +01:00
20 lines
560 B
Nix
20 lines
560 B
Nix
{ config, fp, pkgs, values, ... }:
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
(fp /base)
|
|
];
|
|
|
|
systemd.network.networks."30-ens18" = values.defaultNetworkConfig // {
|
|
matchConfig.Name = "ens18";
|
|
address = with values.hosts.shark; [ (ipv4 + "/25") (ipv6 + "/64") ];
|
|
};
|
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
# Don't change (even during upgrades) unless you know what you are doing.
|
|
# See https://search.nixos.org/options?show=system.stateVersion
|
|
system.stateVersion = "25.11";
|
|
}
|