too much to mention

This commit is contained in:
2024-11-02 18:48:19 +01:00
parent 1dfce7fd9b
commit 11fd6bc478
17 changed files with 222 additions and 102 deletions

View File

@ -0,0 +1,20 @@
{ pkgs, ... }:
{
# 1Password
programs._1password.enable = true;
programs._1password-gui = {
enable = true;
polkitPolicyOwners = [ "menno" ];
};
environment.etc = {
"1password/custom_allowed_browsers" = {
text = ''
firefox
brave
zen
'';
mode = "0755";
};
};
}

View File

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./steam.nix
./1password.nix
./flatpak.nix
];
}

View File

@ -0,0 +1,10 @@
{ pkgs, ... }: {
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}

View File

@ -0,0 +1,13 @@
# In your configuration.nix
{ config, pkgs, ... }:
{
programs.steam = {
enable = true;
# Open ports in the firewall for Steam Remote Play
remotePlay.openFirewall = true;
# Open ports in the firewall for Source Dedicated Server
dedicatedServer.openFirewall = true;
# Open ports in the firewall for Steam Local Network Game Transfers
localNetworkGameTransfers.openFirewall = true;
};
}