stuff
This commit is contained in:
parent
60f8850908
commit
56c97b3712
9 changed files with 28 additions and 88 deletions
14
flake.lock
generated
14
flake.lock
generated
|
@ -791,11 +791,11 @@
|
||||||
"treefmt": "treefmt_3"
|
"treefmt": "treefmt_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752083810,
|
"lastModified": 1752369177,
|
||||||
"narHash": "sha256-tg8vOWF0zkHy713ZsUrIbXEtHNCHSkhIuDQ6ACDf+zc=",
|
"narHash": "sha256-o7+dwGoPXj2c0hWyVitxYJUq9NyK3BFUM3Icpv0WU20=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "4ebb58559da32beb024a91fea4a50a72c4b27342",
|
"rev": "bf600ff64f5c7b5789033aca48a0ab86ce5a8eef",
|
||||||
"revCount": 2,
|
"revCount": 3,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://codeberg.org/helvetica/mympv.git"
|
"url": "https://codeberg.org/helvetica/mympv.git"
|
||||||
},
|
},
|
||||||
|
@ -852,11 +852,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752305182,
|
"lastModified": 1752378829,
|
||||||
"narHash": "sha256-6i4Q68G7wzNq1m2+l3lJUYgGZ9PwULvSVJpRSTTC46o=",
|
"narHash": "sha256-LVqpSiYJ+zcxLvA6YUn9udrq8+NFBJ9oSwiEePPa9+g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "ad29e2961dd0d58372384563bf00d510fc9f2e15",
|
"rev": "12201a430ee613bc720cef21a130b416cb1b5108",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
headful.enable = true;
|
headful.enable = true;
|
||||||
dynamic.enable = true;
|
dynamic.enable = true;
|
||||||
emulation.enable = true;
|
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
piracy.enable = true;
|
piracy.enable = true;
|
||||||
productivity.enable = true;
|
productivity.enable = true;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
dynamic.enable = true;
|
dynamic.enable = true;
|
||||||
headful.enable = true;
|
headful.enable = true;
|
||||||
emulation.enable = true;
|
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
piracy.enable = true;
|
piracy.enable = true;
|
||||||
productivity.enable = true;
|
productivity.enable = true;
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages =
|
|
||||||
let
|
|
||||||
retroarch = pkgs.retroarch.withCores (cores: [
|
|
||||||
cores.parallel-n64
|
|
||||||
cores.dolphin
|
|
||||||
]);
|
|
||||||
in
|
|
||||||
[
|
|
||||||
retroarch
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.profiles.emulation;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.cemu
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
let
|
|
||||||
cfg = config.profiles.emulation;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.profiles.emulation = {
|
|
||||||
enable = lib.mkEnableOption "emulation";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
assertions = [
|
|
||||||
{
|
|
||||||
assertion = config.profiles.desktop.enable;
|
|
||||||
message = "The emulation profile depends on the desktop profile.";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.profiles.emulation;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.dolphin-emu
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.profiles.emulation;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.rmg-wayland
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
21
profiles/gaming/retroarch.nix
Normal file
21
profiles/gaming/retroarch.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.profiles.gaming;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages =
|
||||||
|
let
|
||||||
|
retroarch = pkgs.retroarch.withCores (cores: [
|
||||||
|
cores.parallel-n64
|
||||||
|
cores.dolphin
|
||||||
|
]);
|
||||||
|
in
|
||||||
|
[ retroarch ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue