From 56c97b3712010046c50a193912c0b3256a866208 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 13 Jul 2025 22:45:42 +0200 Subject: [PATCH] stuff --- flake.lock | 14 +++++++------- hosts/flamingo/profiles.nix | 1 - hosts/glacier/profiles.nix | 1 - hosts/insomniac/retroarch.nix | 13 ------------- profiles/emulation/cemu.nix | 16 ---------------- profiles/emulation/default.nix | 18 ------------------ profiles/emulation/dolphin.nix | 16 ---------------- profiles/emulation/rmg.nix | 16 ---------------- profiles/gaming/retroarch.nix | 21 +++++++++++++++++++++ 9 files changed, 28 insertions(+), 88 deletions(-) delete mode 100644 hosts/insomniac/retroarch.nix delete mode 100644 profiles/emulation/cemu.nix delete mode 100644 profiles/emulation/default.nix delete mode 100644 profiles/emulation/dolphin.nix delete mode 100644 profiles/emulation/rmg.nix create mode 100644 profiles/gaming/retroarch.nix diff --git a/flake.lock b/flake.lock index efa69dd..f07e69e 100644 --- a/flake.lock +++ b/flake.lock @@ -791,11 +791,11 @@ "treefmt": "treefmt_3" }, "locked": { - "lastModified": 1752083810, - "narHash": "sha256-tg8vOWF0zkHy713ZsUrIbXEtHNCHSkhIuDQ6ACDf+zc=", + "lastModified": 1752369177, + "narHash": "sha256-o7+dwGoPXj2c0hWyVitxYJUq9NyK3BFUM3Icpv0WU20=", "ref": "refs/heads/main", - "rev": "4ebb58559da32beb024a91fea4a50a72c4b27342", - "revCount": 2, + "rev": "bf600ff64f5c7b5789033aca48a0ab86ce5a8eef", + "revCount": 3, "type": "git", "url": "https://codeberg.org/helvetica/mympv.git" }, @@ -852,11 +852,11 @@ ] }, "locked": { - "lastModified": 1752305182, - "narHash": "sha256-6i4Q68G7wzNq1m2+l3lJUYgGZ9PwULvSVJpRSTTC46o=", + "lastModified": 1752378829, + "narHash": "sha256-LVqpSiYJ+zcxLvA6YUn9udrq8+NFBJ9oSwiEePPa9+g=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "ad29e2961dd0d58372384563bf00d510fc9f2e15", + "rev": "12201a430ee613bc720cef21a130b416cb1b5108", "type": "github" }, "original": { diff --git a/hosts/flamingo/profiles.nix b/hosts/flamingo/profiles.nix index c14b2ae..cf3a004 100644 --- a/hosts/flamingo/profiles.nix +++ b/hosts/flamingo/profiles.nix @@ -3,7 +3,6 @@ desktop.enable = true; headful.enable = true; dynamic.enable = true; - emulation.enable = true; gaming.enable = true; piracy.enable = true; productivity.enable = true; diff --git a/hosts/glacier/profiles.nix b/hosts/glacier/profiles.nix index 1caf3d3..fbd110f 100644 --- a/hosts/glacier/profiles.nix +++ b/hosts/glacier/profiles.nix @@ -3,7 +3,6 @@ desktop.enable = true; dynamic.enable = true; headful.enable = true; - emulation.enable = true; gaming.enable = true; piracy.enable = true; productivity.enable = true; diff --git a/hosts/insomniac/retroarch.nix b/hosts/insomniac/retroarch.nix deleted file mode 100644 index 8f06295..0000000 --- a/hosts/insomniac/retroarch.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: -{ - environment.systemPackages = - let - retroarch = pkgs.retroarch.withCores (cores: [ - cores.parallel-n64 - cores.dolphin - ]); - in - [ - retroarch - ]; -} diff --git a/profiles/emulation/cemu.nix b/profiles/emulation/cemu.nix deleted file mode 100644 index 40ca12b..0000000 --- a/profiles/emulation/cemu.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.profiles.emulation; -in -{ - config = lib.mkIf cfg.enable { - environment.systemPackages = [ - pkgs.cemu - ]; - }; -} diff --git a/profiles/emulation/default.nix b/profiles/emulation/default.nix deleted file mode 100644 index f7b51d8..0000000 --- a/profiles/emulation/default.nix +++ /dev/null @@ -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."; - } - ]; - }; -} diff --git a/profiles/emulation/dolphin.nix b/profiles/emulation/dolphin.nix deleted file mode 100644 index 6376ad0..0000000 --- a/profiles/emulation/dolphin.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.profiles.emulation; -in -{ - config = lib.mkIf cfg.enable { - environment.systemPackages = [ - pkgs.dolphin-emu - ]; - }; -} diff --git a/profiles/emulation/rmg.nix b/profiles/emulation/rmg.nix deleted file mode 100644 index 4ed9c74..0000000 --- a/profiles/emulation/rmg.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.profiles.emulation; -in -{ - config = lib.mkIf cfg.enable { - environment.systemPackages = [ - pkgs.rmg-wayland - ]; - }; -} diff --git a/profiles/gaming/retroarch.nix b/profiles/gaming/retroarch.nix new file mode 100644 index 0000000..1344645 --- /dev/null +++ b/profiles/gaming/retroarch.nix @@ -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 ]; + }; +}