mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Refactor with nixfmt
This commit is contained in:
@@ -1,27 +1,36 @@
|
||||
{ pkgs, gamingSystem, currentSystemDe, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nordvpn.nix
|
||||
];
|
||||
pkgs,
|
||||
gamingSystem,
|
||||
currentSystemDe,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./nordvpn.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = if gamingSystem then {
|
||||
enable = true;
|
||||
# package = pkgs.steam-millennium;
|
||||
remotePlay.openFirewall = true;
|
||||
} else {};
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-tty;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
nh = {
|
||||
enable = true;
|
||||
};
|
||||
hyprland.enable = if currentSystemDe == "hyprland" then true else false;
|
||||
};
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam =
|
||||
if gamingSystem then
|
||||
{
|
||||
enable = true;
|
||||
# package = pkgs.steam-millennium;
|
||||
remotePlay.openFirewall = true;
|
||||
}
|
||||
else
|
||||
{ };
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-tty;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
nh = {
|
||||
enable = true;
|
||||
};
|
||||
hyprland.enable = if currentSystemDe == "hyprland" then true else false;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user