diff options
Diffstat (limited to 'kuro/configuration.nix')
-rw-r--r-- | kuro/configuration.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/kuro/configuration.nix b/kuro/configuration.nix deleted file mode 100644 index aaeb0c9..0000000 --- a/kuro/configuration.nix +++ /dev/null @@ -1,34 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running `nixos-help`). - -{ config, pkgs, ... }: - -{ - imports = - [ - # Include the results of the hardware scan. - ./hardware-configuration.nix - - # Shared config of all machines - /data/nixos/common.nix - ]; - - # amd graphics - hardware.opengl.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ]; - - # use systemd-networkd, fixed IPv4, dynamic IPv6 - networking.hostName = "kuro"; - networking.useDHCP = false; - networking.nameservers = [ "192.168.13.1" ]; - systemd.network = { - enable = true; - networks."10-wan" = { - matchConfig.Name = "enp2s0"; - address = [ "192.168.13.101/24" ]; - routes = [ { routeConfig.Gateway = "192.168.13.1"; } ]; - networkConfig.IPv6AcceptRA = true; - linkConfig.RequiredForOnline = "routable"; - }; - }; -} |