game console emulators
This commit is contained in:
parent
a1f6e3d7f5
commit
1a7373af26
6
flake.lock
generated
6
flake.lock
generated
@ -1091,11 +1091,11 @@
|
|||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686858300,
|
"lastModified": 1688546999,
|
||||||
"narHash": "sha256-puBTBN6pJXAZ7oI2MHHyj+GCnipqZwTF9PvGtouBXKA=",
|
"narHash": "sha256-fW0BKoMIsukWt0C/K47gHuVe2M+UyqfOS/pmZUqCmYs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "b3d13e358b2ec4caf73562492128a483b84970da",
|
"rev": "3d4890e8ed7d295a88d0e8951916a45bc19d2f7f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
nixosProfiles.hoyo
|
nixosProfiles.hoyo
|
||||||
nixosProfiles.sunshine
|
nixosProfiles.sunshine
|
||||||
nixosProfiles.attic
|
nixosProfiles.attic
|
||||||
|
nixosProfiles.emulators
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.libvirt.guests = {
|
virtualisation.libvirt.guests = {
|
||||||
|
13
profiles/applications/emulators.nix
Normal file
13
profiles/applications/emulators.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
home-manager.users.${config.mainuser} = {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
(retroarch.override { cores = with libretro; [ genesis-plus-gx dosbox ]; })
|
||||||
|
pcsx2 rpcs3
|
||||||
|
];
|
||||||
|
};
|
||||||
|
persist.state.homeDirectories = [
|
||||||
|
".config/retroarch"
|
||||||
|
".config/PCSX2"
|
||||||
|
".config/rpcs3"
|
||||||
|
];
|
||||||
|
}
|
@ -77,7 +77,6 @@ with config.deviceSpecific; {
|
|||||||
lutris
|
lutris
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
# reshade-shaders
|
# reshade-shaders
|
||||||
# (retroarch.override { cores = [ libretro.genesis-plus-gx libretro.dosbox ]; })
|
|
||||||
# parsec
|
# parsec
|
||||||
protonhax
|
protonhax
|
||||||
protontricks
|
protontricks
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
"input"
|
"input"
|
||||||
"kvm"
|
"kvm"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
|
"limits"
|
||||||
"lp"
|
"lp"
|
||||||
"lxd"
|
"lxd"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
@ -42,9 +43,15 @@
|
|||||||
config.users.users.${config.mainuser}.openssh.authorizedKeys.keys;
|
config.users.users.${config.mainuser}.openssh.authorizedKeys.keys;
|
||||||
};
|
};
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
# Safe, because we using doas
|
# Safe, because we are using doas
|
||||||
users.allowNoPasswordLogin = true;
|
users.allowNoPasswordLogin = true;
|
||||||
|
|
||||||
systemd.services."user@" = { serviceConfig = { Restart = "always"; }; };
|
systemd.services."user@" = { serviceConfig = { Restart = "always"; }; };
|
||||||
services.getty.autologinUser = config.mainuser;
|
services.getty.autologinUser = config.mainuser;
|
||||||
|
|
||||||
|
users.groups.limits = {};
|
||||||
|
security.pam.loginLimits = [
|
||||||
|
{ domain = "@limits"; item = "memlock"; type = "soft"; value = "unlimited"; }
|
||||||
|
{ domain = "@limits"; item = "memlock"; type = "hard"; value = "unlimited"; }
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user