feat: add jovian nixos
This commit is contained in:
parent
1764a421ab
commit
57a9709745
5 changed files with 115 additions and 36 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, config
|
||||
, inputs
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
|
@ -12,11 +13,25 @@ in
|
|||
options.my.profiles.gaming.enable = mkEnableOption "Enable gaming profile";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
legendary-gl
|
||||
mangohud
|
||||
];
|
||||
specialisation.gaming.configuration = {
|
||||
imports = [ inputs.jovian.nixosModules.default ];
|
||||
environment.persistence."/persist".users.moritz.directories = [
|
||||
".cache/lutris/"
|
||||
".config/gamescope"
|
||||
".local/share/Steam/"
|
||||
".local/share/lutris/"
|
||||
];
|
||||
users.users.moritz.packages = [ pkgs.lutris ];
|
||||
jovian.steam.enable = true;
|
||||
jovian.steam.autoStart = true;
|
||||
jovian.steam.user = "moritz";
|
||||
jovian.steam.desktopSession = "niri";
|
||||
my.programs.niri.autoStart = false;
|
||||
environment.sessionVariables = {
|
||||
DXVK_HDR = "1";
|
||||
ENABLE_HDR_WSI = "1";
|
||||
ENABLE_GAMESCOPE_WSI = "1";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ in
|
|||
".config/Signal/"
|
||||
".config/calibre"
|
||||
".config/keepassxc"
|
||||
".local/share/Steam/"
|
||||
".local/share/zoxide"
|
||||
".mozilla"
|
||||
".steam"
|
||||
"Documents"
|
||||
"Downloads"
|
||||
"Music"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue