Skip to content

Commit

Permalink
bonney: Separate steam link stuff into separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Sep 3, 2023
1 parent fd3d1e4 commit 1f15dae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 3 additions & 5 deletions machines/bonney/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ with lib; {
inputs.self.nixosModules.server

inputs.self.nixosModules.media-server

./steam-link.nix
];

boot.loader = {
Expand All @@ -18,7 +20,7 @@ with lib; {
astral = {
monitoring-node.scrapeTransport = "tailscale";
tailscale.oneOffKey =
"tskey-auth-ka8GwW6CNTRL-buTFdt8S7P7Cmpwb1uQiM797EGYiPfc3";
"tskey-auth-kkLCKn6CNTRL-tv1Pmix6CKCfrj9bX1U1JCFRJn7uFRgYd";
};

networking = {
Expand All @@ -33,10 +35,6 @@ with lib; {

time.timeZone = "US/Pacific";

programs.steam.enable = true;
services.flatpak.enable = true; # steam link

virtualisation.podman.enable = true;
virtualisation.vmVariant = {
# Autologin as root because we testin here
services.getty.autologinUser = "root";
Expand Down
7 changes: 7 additions & 0 deletions machines/bonney/steam-link.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
# packaged via flatpak
services.flatpak.enable = true;

# Fails to run without this
boot.kernel.sysctl."kernel.unprivileged_userns_clone" = 1;
}

0 comments on commit 1f15dae

Please sign in to comment.