Added nvidia drivers and gaming profile
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
samfelag = {
|
||||
profiles = {
|
||||
desktop.enable = true;
|
||||
gaming.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
imports = [
|
||||
./common.nix
|
||||
./desktop.nix
|
||||
./gaming.nix
|
||||
];
|
||||
}
|
||||
|
||||
24
home/profiles/gaming.nix
Normal file
24
home/profiles/gaming.nix
Normal 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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user