Skip to content

Commit

Permalink
Reimage bonney, again (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f authored Sep 3, 2023
1 parent 0ac410e commit 1128150
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 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,7 +35,6 @@ with lib; {

time.timeZone = "US/Pacific";

virtualisation.podman.enable = true;
virtualisation.vmVariant = {
# Autologin as root because we testin here
services.getty.autologinUser = "root";
Expand Down
11 changes: 3 additions & 8 deletions machines/bonney/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,14 @@
fsType = "zfs";
};

fileSystems."/boot" = {
device = "/dev/disk/by-uuid/582B-D4F7";
fsType = "vfat";
};

fileSystems."/nix" = {
device = "tank/nix";
fsType = "zfs";
};

fileSystems."/var" = {
device = "tank/var";
fsType = "zfs";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8615-D349";
fsType = "vfat";
};

swapDevices = [ ];
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 1128150

Please sign in to comment.