# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { imports = [ ]; boot.initrd.availableKernelModules = [ "ata_piix" "vmw_pvscsi" "ahci" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/2135c59d-9c2d-487c-9c4e-0f566fa9d316"; fsType = "btrfs"; options = [ "subvol=@" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/7E60-8E0B"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault false; # networking.interfaces.ens33.useDHCP = lib.mkDefault true; networking.interfaces.ens33 = { ipv4.addresses = [{ address = "172.18.154.50"; prefixLength = 24; }]; }; # Enable networking networking.networkmanager.enable = true; networking.defaultGateway = { address = "172.18.154.1"; interface = "ens33"; }; networking.nameservers = [ "64.102.6.247" ]; networking.search = [ "cisco.com" ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }