mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Major refactor
This commit is contained in:
27
modules/programs/default.nix
Normal file
27
modules/programs/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
13
modules/programs/nordvpn.nix
Normal file
13
modules/programs/nordvpn.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, nur, ... } @ inputs:
|
||||
{
|
||||
imports = [
|
||||
inputs.nur.modules.nixos.default
|
||||
inputs.nur.legacyPackages.x86_64-linux.repos.wingej0.modules.nordvpn
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
nordvpn = pkgs.nur.repos.wingej0.nordvpn;
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user