# 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, lib, modulesPath, inputs, ... }: { imports = [ inputs.mixrank.nixosModules.dev-machine (modulesPath + "/installer/scan/not-detected.nix") ]; santi-modules.desktop-environment.enable = true; santi-modules.services.cgit.enable = true; services.xserver.videoDrivers = [ "amdgpu" ]; # Bootloader. boot = { loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; initrd = { availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ]; kernelModules = [ "amdgpu" ]; }; binfmt.emulatedSystems = [ "aarch64-linux" ]; kernelModules = [ "kvm-amd" ]; kernelPackages = pkgs.linuxPackages_latest; extraModulePackages = [ ]; }; networking = { hostName = "kunagisa"; # Define your hostname. networkmanager.enable = true; firewall.enable = false; useDHCP = lib.mkDefault true; }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; fileSystems = { "/" = { device = "/dev/disk/by-uuid/96c114a2-ffd7-476d-80fa-51e670c27e4b"; fsType = "ext4"; }; "/boot" = { device = "/dev/disk/by-uuid/AA22-4A81"; fsType = "vfat"; }; }; swapDevices = [ { device = "/dev/disk/by-uuid/1a204e5c-05cb-4e7f-b859-927fb024fb12"; } ]; hardware.graphics = { enable = true; enable32Bit = true; }; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; system.stateVersion = "23.05"; }