···11+{
22+ disko.devices = {
33+ disk = {
44+ main = {
55+ type = "disk";
66+ device = "/dev/disk/by-id/nvme-WD_BLACK_SN7100_1TB_252945801255";
77+88+ content = {
99+ type = "gpt";
1010+1111+ partitions = {
1212+ ESP = {
1313+ end = "500M";
1414+ type = "EF00";
1515+1616+ content = {
1717+ type = "filesystem";
1818+1919+ format = "vfat";
2020+ mountpoint = "/boot";
2121+ };
2222+ };
2323+2424+ root = {
2525+ name = "root";
2626+ end = "-0";
2727+2828+ content = {
2929+ type = "filesystem";
3030+3131+ format = "xfs";
3232+ mountpoint = "/";
3333+ };
3434+ };
3535+ };
3636+ };
3737+ };
3838+3939+ storage = {
4040+ type = "disk";
4141+ device = "/dev/disk/by-id/ata-ST4000DM004-2CV104_ZTT1Y529";
4242+4343+ content = {
4444+ type = "gpt";
4545+4646+ partitions = {
4747+ root = {
4848+ end = "-0";
4949+5050+ content = {
5151+ type = "filesystem";
5252+ format = "xfs";
5353+ };
5454+ };
5555+ };
5656+ };
5757+ };
5858+ };
5959+ };
6060+}
+39
hosts/prospect/hardware-configuration.nix
···11+# Do not modify this file! It was generated by ‘nixos-generate-config’
22+# and may be overwritten by future invocations. Please make changes
33+# to /etc/nixos/configuration.nix instead.
44+{
55+ config,
66+ lib,
77+ pkgs,
88+ modulesPath,
99+ ...
1010+}:
1111+1212+{
1313+ imports = [
1414+ (modulesPath + "/installer/scan/not-detected.nix")
1515+ ];
1616+1717+ boot.initrd.availableKernelModules = [
1818+ "nvme"
1919+ "xhci_pci"
2020+ "ahci"
2121+ "usbhid"
2222+ "usb_storage"
2323+ "sd_mod"
2424+ ];
2525+ boot.initrd.kernelModules = [ ];
2626+ boot.kernelModules = [ ];
2727+ boot.extraModulePackages = [ ];
2828+2929+ # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
3030+ # (the default) this is the recommended approach. When using systemd-networkd it's
3131+ # still possible to use this option, but it's recommended to use it in conjunction
3232+ # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
3333+ networking.useDHCP = lib.mkDefault true;
3434+ # networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
3535+ # networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
3636+3737+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
3838+ hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
3939+}
+55
hosts/prospect/homes/encode42.nix
···11+{
22+ flakeRoot,
33+ pkgs,
44+ pkgs-unstable,
55+ ...
66+}:
77+88+let
99+ stable-emulators = with pkgs; [
1010+ punes-qt6 # Nintendo Entertainment System
1111+ blastem # Sega Genesis
1212+ bsnes-hd # Nintendo Super Entertainment System
1313+ yabause # Sega Saturn
1414+ duckstation # Sony Playstation 1
1515+ rmg-wayland # Nintendo 64
1616+ flycast # Sega Dreamcast
1717+ mgba # Nintendo Game Boy
1818+ pcsx2 # Sony Playstation 2
1919+ xemu # Microsoft Xbox
2020+ melonDS # Nintendo DS
2121+ ppsspp-qt # Sony Playstation Portable
2222+ rpcs3 # Sony Playstation 3
2323+ azahar # Nintendo 3DS
2424+ cemu # Nintendo Wii U
2525+ ];
2626+2727+ unstable-emulators = with pkgs-unstable; [
2828+ xenia-canary # Microsoft Xbox 360
2929+ ];
3030+3131+ # TODO: Vita3k and Gearsystem
3232+in
3333+{
3434+ imports = [
3535+ (flakeRoot + /homes/encode42/common)
3636+3737+ (flakeRoot + /homes/encode42/common/bat.nix)
3838+ (flakeRoot + /homes/encode42/common/eza.nix)
3939+ (flakeRoot + /homes/encode42/common/xh.nix)
4040+4141+ (flakeRoot + /homes/encode42/desktop/cursor.nix)
4242+ (flakeRoot + /homes/encode42/desktop/fonts.nix)
4343+4444+ (flakeRoot + /homes/encode42/desktop/environments/gnome.nix)
4545+4646+ (flakeRoot + /homes/encode42/desktop/firefox.nix)
4747+4848+ (flakeRoot + /homes/encode42/desktop/prismlauncher.nix)
4949+ ];
5050+5151+ home.packages = with pkgs; [
5252+ r2modman
5353+ pkgs-unstable.olympus
5454+ ];
5555+}