# 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 = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; boot.extraModprobeConfig = "options kvm_amd nested=1"; fileSystems."/" = { device = "none"; fsType = "tmpfs"; options = ["defaults" "size=1G" "mode=755"]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/067a8472-18d0-49d4-961d-dbe07d8cc1a7"; fsType = "btrfs"; options = [ "subvol=@nix" "compress=zstd"]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/067a8472-18d0-49d4-961d-dbe07d8cc1a7"; fsType = "btrfs"; options = [ "subvol=@home" "compress=zstd"]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/67E3-17ED"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; fileSystems."/home/yaroslav/tmp" = { device = "none"; fsType = "tmpfs"; }; fileSystems."/Volumes/Trash" = { device = "aphelion:/Volumes/Trash"; options = ["x-mount.mkdir" "user" "rw" "noauto" ]; fsType = "nfs"; }; services.nfs.server.enable = true; swapDevices = [ ]; boot.supportedFilesystems = [ "zfs" ]; networking.hostId = "63367a21"; services.asus-numberpad-driver = { enable = true; layout = "up5401ea"; wayland = true; runtimeDir = "/run/user/1000/"; waylandDisplay = "wayland-0"; ignoreWaylandDisplayEnv = false; config = { "activation_time" = "0.5"; # More Configuration Options "enabled_touchpad_pointer" = "0"; }; }; # 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 true; networking.hostName = "Ratchet"; # networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }