feat(star-citizen): install
This commit is contained in:
parent
394bf7519e
commit
a9b65fc1fc
5 changed files with 231 additions and 6 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
programs = {
|
||||
gamemode.enable = true;
|
||||
gamescope.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
|
|
|
|||
23
modules/nixos/features/star-citizen.nix
Normal file
23
modules/nixos/features/star-citizen.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
# keep-sorted start
|
||||
inputs,
|
||||
system,
|
||||
# keep-sorted end
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = [ "https://nix-citizen.cachix.org" ];
|
||||
trusted-public-keys = [ "nix-citizen.cachix.org-1:lPMkWc2X8XD4/7YPEEwXKKBg+SVbYTVrAaLA2wQTKCo=" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
inputs.nix-citizen.packages.${system}.rsi-launcher
|
||||
];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
writebackDevice = "/dev/sda1";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue