# Kim # System configuration for my desktop { inputs, globals, ... }: with inputs; inputs.nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ globals home-manager.nixosModules.home-manager # ../../modules/common ../../modules/nixos { # something with overlays, I don't get those yet. # Hardware # physical = true; networking.hostName = "virt-nix"; boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; services.xserver.videoDrivers = [ "amdgpu" ]; # TODO: I use wayland, do I need this? hardware.enableRedistributableFirmware = true; powerManagement.cpuFreqGovernor = "performance"; hardware.cpu.amd.updateMicrocode = true; fileSystems."/" = { device = "/dev/disk/by-uuid/ba78bd44-dd31-4f55-88ce-ab83fbf3eb4e"; fsType = "ext4"; }; swapDevices = [ ]; networking.useDHCP = nixpkgs.lib.mkDefault true; # TODO: identityFile = "/home/${globals.user}/.ssh/id_ed2519"; # TODO: passwordHash = nixpkgs.lib.fileContents ../../password.sha512; # Theming? } ]; }