Added nvidia drivers and gaming profile

This commit is contained in:
marc committed 2022-11-04 19:32:53 +01:00
1 parent f4d6589bd1
commit 0f4b895d38
9 files changed
+89 -3

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
samfelag = {
profiles = {
desktop.enable = true;
gaming.enable = true;
};
};
}
+1
View File
@@ -4,5 +4,6 @@
imports = [
./common.nix
./desktop.nix
./gaming.nix
];
}
+24
View File
@@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.samfelag.profiles.gaming;
in
{
options.samfelag.profiles.gaming = {
enable = mkEnableOption "gaming profile";
};
config = mkIf cfg.enable {
# - Dependencies -----------------------------
samfelag.modules = {
};
home.packages = with pkgs; [
lutris
];
};
}