configure retroarch
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
time.timeZone = "Europe/Oslo";
|
||||
|
||||
i18n.defaultLocale = "nb_NO.UTF-8";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
keyMap = "no";
|
||||
};
|
||||
|
||||
24
flake.lock
generated
24
flake.lock
generated
@@ -49,11 +49,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765980955,
|
||||
"narHash": "sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs+zlQ07dGQFk4=",
|
||||
"lastModified": 1767104570,
|
||||
"narHash": "sha256-GKgwu5//R+cLdKysZjGqvUEEOGXXLdt93sNXeb2M/Lk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "89c9508bbe9b40d36b3dc206c2483ef176f15173",
|
||||
"rev": "e4e78a2cbeaddd07ab7238971b16468cc1d14daf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -64,11 +64,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1765779637,
|
||||
"narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
|
||||
"lastModified": 1766902085,
|
||||
"narHash": "sha256-coBu0ONtFzlwwVBzmjacUQwj3G+lybcZ1oeNSQkgC0M=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
|
||||
"rev": "c0b0e0fddf73fd517c3471e546c0df87a42d53f4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -87,11 +87,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1766065187,
|
||||
"narHash": "sha256-1d6+VDO26pJzibS5xtANeD6C0e39W07xO4GUPsIwTpk=",
|
||||
"lastModified": 1767002962,
|
||||
"narHash": "sha256-HGFRwMRUwt56E+SiVX9YQOzpOwHy0/rtEqMoEbkF8Yg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "2a1f48e701bb11297432864ba4cadee3b886eba3",
|
||||
"rev": "63c957603751f0a107c4d9c2cbaff1c8749fc9f1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -108,11 +108,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1766139198,
|
||||
"narHash": "sha256-hYSbijPD3nvKZ9LObykgOO1C0s0/IM7Zv6BtTXB1F9g=",
|
||||
"lastModified": 1767064641,
|
||||
"narHash": "sha256-RXMvsCbe8357wIy3de6QsMbCPUZOJz0eGrZgR/OukeQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "5a370962ea203522236dade2aed4094069cb331d",
|
||||
"rev": "bc4f03b0ecb04e381d98f4dbf57c2e4c1ef0bcb4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
30
home.nix
30
home.nix
@@ -11,6 +11,13 @@
|
||||
stateVersion = "25.11";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"libretro-snes9x"
|
||||
"libretro-fbneo"
|
||||
];
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
mime.enable = true;
|
||||
@@ -33,6 +40,8 @@
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
services.batsignal = {
|
||||
enable = true;
|
||||
extraArgs = [
|
||||
@@ -97,6 +106,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.retroarch = {
|
||||
enable = true;
|
||||
cores = {
|
||||
snes9x.enable = true;
|
||||
fbneo.enable = true;
|
||||
};
|
||||
settings = {
|
||||
video_driver = "vulkan";
|
||||
video_fullscreen = "true";
|
||||
audio_driver = "pipewire";
|
||||
microphone_driver = "pipewire";
|
||||
materialui_thumbnail_background_enable = "true";
|
||||
preemptive_frames_enable = "true";
|
||||
run_ahead_frames = "2";
|
||||
};
|
||||
};
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
dependencies.ripgrep.enable = true;
|
||||
@@ -242,8 +268,8 @@
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
profile = "gpu-hq";
|
||||
ao = "pipewire";
|
||||
profile = "gpu-hq";
|
||||
ao = "pipewire";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user