Add eidolon

This commit is contained in:
Nathan McCarty 2022-10-13 00:03:16 -04:00
parent 58e1289e9b
commit 716d4ce14e
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
5 changed files with 40 additions and 29 deletions

View File

@ -144,15 +144,17 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": [
"nixpkgs-unstable"
],
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1658887125, "lastModified": 1665632996,
"narHash": "sha256-evUl+58qvhEYA/A55hd8Y/bQMwS7i1GuUlVeTHg9IDk=", "narHash": "sha256-v5Zg5nPuIFtzk4wJQu74vQzZ4H/gLIDjbrqMUNdNzNI=",
"owner": "nathans-flakes", "owner": "nathans-flakes",
"repo": "gamescope", "repo": "gamescope",
"rev": "019dfcc926a31dd399940befe1ac67c17a442db8", "rev": "47b1930844af94f2bdbd619ae62beecb805960b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -164,11 +166,11 @@
"gamescope-src": { "gamescope-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1658761788, "lastModified": 1665507944,
"narHash": "sha256-tyzRnyB4MZ3e30pn/mPxE5E0VOBeKgcnFmhB8iM0IJA=", "narHash": "sha256-+0ekpjSb/1PRX84uGY8fDN2r4N+zn1xnbvG++QSvRb4=",
"ref": "master", "ref": "master",
"rev": "cce6a29a2494eaf8f99e299a39b957fda3fcdb2a", "rev": "f51b7229ae80794e514be20e6080ba4e93864a57",
"revCount": 1140, "revCount": 1234,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/Plagman/gamescope.git" "url": "https://github.com/Plagman/gamescope.git"
@ -383,22 +385,6 @@
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": {
"lastModified": 1658644204,
"narHash": "sha256-MWyfCH9K3eVTXJUxBi67OQSAh9jJAnvWklM6qm4j8w8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2f0c3be57c348f4cfd8820f2d189e29a685d9c41",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable_2": {
"locked": { "locked": {
"lastModified": 1665259268, "lastModified": 1665259268,
"narHash": "sha256-ONFhHBLv5nZKhwV/F2GOH16197PbvpyWhoO0AOyktkU=", "narHash": "sha256-ONFhHBLv5nZKhwV/F2GOH16197PbvpyWhoO0AOyktkU=",
@ -487,7 +473,7 @@
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable_2", "nixpkgs-unstable": "nixpkgs-unstable",
"polymc": "polymc", "polymc": "polymc",
"quilt-server": "quilt-server", "quilt-server": "quilt-server",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
@ -550,11 +536,11 @@
}, },
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1656928814, "lastModified": 1659877975,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -51,7 +51,11 @@
}; };
gamescope = { gamescope = {
url = "github:nathans-flakes/gamescope"; url = "github:nathans-flakes/gamescope";
inputs.nixpkgs.follows = "nixpkgs"; inputs = {
nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable";
};
}; };
nix-on-droid = { nix-on-droid = {
url = "github:t184256/nix-on-droid"; url = "github:t184256/nix-on-droid";

View File

@ -15,6 +15,7 @@ with lib; with nLib; {
./programs/media.nix ./programs/media.nix
./programs/wine.nix ./programs/wine.nix
./programs/gpg.nix ./programs/gpg.nix
./programs/games.nix
./services/syncthing.nix ./services/syncthing.nix
./services/email.nix ./services/email.nix
]; ];
@ -43,6 +44,10 @@ with lib; with nLib; {
devel = { devel = {
jvm = mkDefaultOption "JVM Development Utilites" config.nathan.config.isDesktop; jvm = mkDefaultOption "JVM Development Utilites" config.nathan.config.isDesktop;
}; };
# Install games
games = {
launcher = mkEnableOption "Game launcher";
};
# Swaywm and supoorting application configuration # Swaywm and supoorting application configuration
swaywm = { swaywm = {
enable = mkDefaultOption "swaywm" config.nathan.config.isDesktop; enable = mkDefaultOption "swaywm" config.nathan.config.isDesktop;

View File

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
with lib; {
config = mkMerge [
# eidolon game launcher
(mkIf config.nathan.programs.games.launcher {
# Install the launcher
home.packages = with pkgs; [
eidolon
];
})
];
}

View File

@ -14,6 +14,9 @@
util = { util = {
wine = true; wine = true;
}; };
games = {
launcher = true;
};
}; };
}; };