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