Compare commits

...

3 commits

Author SHA1 Message Date
BuyMyMojo
9e2914d0dc
Format services.nix 2025-03-30 02:49:46 +11:00
BuyMyMojo
5d33cecfe6
Add a service for jellyfind-rpc (Disabled) 2025-03-30 02:49:22 +11:00
BuyMyMojo
728940b490
Move to unstable mangohud for steam 2025-03-30 02:48:38 +11:00
2 changed files with 55 additions and 49 deletions

View file

@ -175,9 +175,9 @@
programs.steam = { programs.steam = {
enable = true; enable = true;
package = pkgs.steam.override { package = pkgs.steam.override {
extraPkgs = (pkgs: with pkgs; [ extraPkgs = (pkgs: with pkgs; with unstable; [
gamemode gamemode
mangohud unstable.mangohud
# additional packages... # additional packages...
# e.g. some games require python3 # e.g. some games require python3
]); ]);

View file

@ -8,6 +8,15 @@
{ {
systemd.services.jellyfin-rpc = {
enable = disable;
path = [ pkgs.jellyfin-rpc ];
serviceConfig = {
User = "buymymojo";
ExecStart = "${pkgs.nix}/bin/nix run nixpkgs#jellyfin-rpc";
};
};
services = { services = {
openssh.enable = true; openssh.enable = true;
flatpak.enable = true; flatpak.enable = true;
@ -26,55 +35,52 @@
}; };
syncthing = { syncthing = {
enable = true; enable = true;
group = "users"; group = "users";
user = "buymymojo"; user = "buymymojo";
dataDir = "/home/buymymojo/Documents/Syncthing"; # Default folder for new synced folders dataDir = "/home/buymymojo/Documents/Syncthing"; # Default folder for new synced folders
configDir = "/home/buymymojo/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys configDir = "/home/buymymojo/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys
}; };
# services.blocky = {
# enable = true;
# settings = {
# services.blocky = { # ports.dns = 53; # Port for incoming DNS Queries.
# enable = true; # upstreams.groups.default = [
# settings = { # "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries.
# ports.dns = 53; # Port for incoming DNS Queries. # ];
# upstreams.groups.default = [ # # For initially solving DoH/DoT Requests when no system Resolver is available.
# "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries. # bootstrapDns = {
# ]; # upstream = "https://one.one.one.one/dns-query";
# # For initially solving DoH/DoT Requests when no system Resolver is available. # ips = [ "1.1.1.1" "1.0.0.1" ];
# bootstrapDns = { # };
# upstream = "https://one.one.one.one/dns-query"; # #Enable Blocking of certian domains.
# ips = [ "1.1.1.1" "1.0.0.1" ]; # blocking = {
# }; # blackLists = {
# #Enable Blocking of certian domains. # #Adblocking
# blocking = { # ads = [
# blackLists = { # "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
# #Adblocking # "https://adaway.org/hosts.txt"
# ads = [ # "https://v.firebog.net/hosts/AdguardDNS.txt"
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" # ];
# "https://adaway.org/hosts.txt" # #Another filter for blocking adult sites
# "https://v.firebog.net/hosts/AdguardDNS.txt" # adult = ["https://blocklistproject.github.io/Lists/porn.txt"];
# ]; # #You can add additional categories
# #Another filter for blocking adult sites # };
# adult = ["https://blocklistproject.github.io/Lists/porn.txt"]; # #Configure what block categories are used
# #You can add additional categories # clientGroupsBlock = {
# }; # default = [ "ads" ];
# #Configure what block categories are used # # kids-ipad = ["ads" "adult"];
# clientGroupsBlock = { # };
# default = [ "ads" ]; # };
# # kids-ipad = ["ads" "adult"]; # customDNS = {
# }; # customTTL = "1h";
# }; # mapping = {
# customDNS = { # "upload.aria.coffee" = "192.168.20.2";
# customTTL = "1h"; # };
# mapping = { # };
# "upload.aria.coffee" = "192.168.20.2"; # };
# }; # };
# };
# };
# };
}; };
} }