Back to ES-DE

This commit is contained in:
Jan-Bulthuis 2025-01-26 15:11:52 +01:00
parent b3298359b4
commit cb35b1afd9
7 changed files with 54 additions and 49 deletions

View File

@ -366,11 +366,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737669579, "lastModified": 1737762889,
"narHash": "sha256-v9WQ3c4ctwPMfdBZMZxpdM9xXev4uChce4BxOpvsu0E=", "narHash": "sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7b9ece1bf3c8780cde9b975b28c2d9ccd7e9cdb9", "rev": "daf04c5950b676f47a794300657f1d3d14c1a120",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -387,11 +387,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737630279, "lastModified": 1737762889,
"narHash": "sha256-wJQCxyMRc4P26zDrHmZiRD5bbfcJpqPG3e2djdGG3pk=", "narHash": "sha256-5HGG09bh/Yx0JA8wtBMAzt0HMCL1bYZ93x4IqzVExio=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0db5c8bfcce78583ebbde0b2abbc95ad93445f7c", "rev": "daf04c5950b676f47a794300657f1d3d14c1a120",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -493,11 +493,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737469691, "lastModified": 1737746512,
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", "narHash": "sha256-nU6AezEX4EuahTO1YopzueAXfjFfmCHylYEFCagduHU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab", "rev": "825479c345a7f806485b7f00dbe3abb50641b083",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -509,11 +509,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1737525964, "lastModified": 1737717945,
"narHash": "sha256-3wFonKmNRWKq1himW9N3TllbeGIHFACI5vmLpk6moF8=", "narHash": "sha256-ET91TMkab3PmOZnqiJQYOtSGvSTvGeHoegAv4zcTefM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5757bbb8bd7c0630a0cc4bb19c47e588db30b97c", "rev": "ecd26a469ac56357fd333946a99086e992452b6a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -552,11 +552,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1737667561, "lastModified": 1737832569,
"narHash": "sha256-BKUapQPTji3V2uxymGq62/UWF1XMjfHvKd565jj1HlA=", "narHash": "sha256-VkK73VRVgvSQOPw9qx9HzvbulvUM9Ae4nNd3xNP+pkI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "aab2b81792567237c104b90c3936e073d28a9ac6", "rev": "d7df58321110d3b0e12a829bbd110db31ccd34b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -574,11 +574,11 @@
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1737676011, "lastModified": 1737897819,
"narHash": "sha256-NqRCQ98D1LY1txY8juG8ufvdSCfvvnoYjV6U6KLRHQ8=", "narHash": "sha256-oVr0st3IHSgIPLDCoDtbI/TiLcMqs85KGBfLqFV3xQU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "470a60434e82a09ea60adb564919923e1017feb7", "rev": "ee6e560d3cbfdbb2d92d1d95c83aaa434ed42dc5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -640,11 +640,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1737657729, "lastModified": 1737861120,
"narHash": "sha256-TIDR1zKoP2uaqRot/LnarugfAC9U7geycjbJqA1naVM=", "narHash": "sha256-V/GWU1BQwbxyZif9RBvwn10S1KX+86uPkkI41KQEcQQ=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "e594886eb0951a0a0c28ffa333a9df6fb13857a1", "rev": "d6951d0b2ffe74e4779a180e9b6a0e17627756e1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -44,6 +44,11 @@
nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
nur.modules.homeManager.default nur.modules.homeManager.default
{ {
# TODO: Remove insecure package exception
nixpkgs.config.permittedInsecurePackages = [
"freeimage-unstable-2021-11-01" # For emulation station
"electron-31.7.7" # For feishin
];
nixpkgs.overlays = [ nixpkgs.overlays = [
nix-matlab.overlay nix-matlab.overlay
]; ];

View File

@ -13,9 +13,6 @@ in
options.modules.feishin.enable = mkEnableOption "feishin"; options.modules.feishin.enable = mkEnableOption "feishin";
config = mkIf cfg.enable { config = mkIf cfg.enable {
# TODO: Remove insecure package exception
nixpkgs.config.permittedInsecurePackages = [ "electron-31.7.7" ];
# TODO: Move to audioling # TODO: Move to audioling
home.packages = with pkgs; [ feishin ]; home.packages = with pkgs; [ feishin ];
}; };

View File

@ -3,8 +3,8 @@
{ {
imports = [ imports = [
./emulators/ryujinx.nix ./emulators/ryujinx.nix
./launchers/es-de.nix
./launchers/modrinth.nix ./launchers/modrinth.nix
./launchers/pegasus.nix
./launchers/steam.nix ./launchers/steam.nix
]; ];
} }

View File

@ -0,0 +1,26 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.es-de;
in
{
options.modules.es-de = {
enable = mkEnableOption "Emulation Station Desktop Edition";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
emulationstation-de
];
home.sessionVariables = {
ESDE_APPDATA_DIR = "$HOME/.config/ES-DE";
};
};
}

View File

@ -1,23 +0,0 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.pegasus;
in
{
options.modules.pegasus = {
enable = mkEnableOption "Pegasus Frontend";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
pegasus-frontend
];
};
}

View File

@ -65,7 +65,7 @@
# Gaming # Gaming
steam.enable = true; steam.enable = true;
modrinth.enable = true; modrinth.enable = true;
pegasus.enable = true; es-de.enable = true;
ryujinx.enable = true; ryujinx.enable = true;
# Media # Media