add emulation option
This commit is contained in:
parent
860af80a0a
commit
7a3c74421c
6 changed files with 12 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
||||||
desktop = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autostart.enable = false;
|
autostart.enable = false;
|
||||||
|
emulation.enable = true;
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
hardware.Lillie = true;
|
hardware.Lillie = true;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
emulation.enable = true;
|
||||||
hyprlock.enable = false;
|
hyprlock.enable = false;
|
||||||
hypridle.enable = false;
|
hypridle.enable = false;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
./applications.nix
|
./applications.nix
|
||||||
./autostart.nix
|
./autostart.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./emulation.nix
|
|
||||||
./keyboard.nix
|
./keyboard.nix
|
||||||
./nfs-client.nix
|
./nfs-client.nix
|
||||||
./nix-ld.nix
|
./nix-ld.nix
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
./ROG_Pugio_II_fixes.nix
|
./ROG_Pugio_II_fixes.nix
|
||||||
|
./emulation.nix
|
||||||
./mangohud.nix
|
./mangohud.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./moonlight.nix
|
./moonlight.nix
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
lib.mkIf config.desktop.enable {
|
lib.mkIf config.desktop.emulation.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
melonDS
|
melonDS
|
||||||
dolphin-emu
|
dolphin-emu
|
|
@ -2,14 +2,22 @@
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
desktop = {
|
desktop = {
|
||||||
|
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emulation.enable = lib.mkOption {
|
||||||
|
default = false;
|
||||||
|
type = lib.types.bool;
|
||||||
|
};
|
||||||
|
|
||||||
windowManager = lib.mkOption {
|
windowManager = lib.mkOption {
|
||||||
default = "Hyprland";
|
default = "Hyprland";
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
server.enable = lib.mkOption {
|
server.enable = lib.mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue