Added nvidia drivers and gaming profile

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

View File

@@ -6,6 +6,7 @@
samfelag = {
profiles = {
desktop.enable = true;
gaming.enable = true;
};
};
}

View File

@@ -4,5 +4,6 @@
imports = [
./common.nix
./desktop.nix
./gaming.nix
];
}

24
home/profiles/gaming.nix Normal file
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
];
};
}