whatever
This commit is contained in:
parent
be9fb9278e
commit
b8af0e9761
165 changed files with 1815 additions and 1431 deletions
16
profiles/emulation/cemu.nix
Normal file
16
profiles/emulation/cemu.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.profiles.emulation;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.cemu
|
||||
];
|
||||
};
|
||||
}
|
18
profiles/emulation/default.nix
Normal file
18
profiles/emulation/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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.";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
16
profiles/emulation/dolphin.nix
Normal file
16
profiles/emulation/dolphin.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.profiles.emulation;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.dolphin-emu
|
||||
];
|
||||
};
|
||||
}
|
16
profiles/emulation/rmg.nix
Normal file
16
profiles/emulation/rmg.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.profiles.emulation;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
pkgs.rmg-wayland
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue