diff --git a/flake.nix b/flake.nix index e338f55..0f8296f 100644 --- a/flake.nix +++ b/flake.nix @@ -266,6 +266,7 @@ }; } + family-users common podman troubleshooting-tools diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 132d6f3..64462fa 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -140,6 +140,18 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 }; }; + systemd.tmpfiles.settings = { + "10-daniel-nightly-flake-build" = { + "/home/daniel/.home/.cache/nightly-flake-builds" = { + "d" = { + mode = "0750"; + user = "daniel"; + group = "daniel"; + }; + }; + }; + }; + systemd.services."build-lytedev-flake" = { # TODO: might want to add root for the most recent results? script = '' @@ -153,7 +165,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 path = with pkgs; [openssh git nixos-rebuild]; serviceConfig = { # TODO: mkdir -p...? - WorkingDirectory = "/home/daniel/.home/nightly-flake-builds"; + WorkingDirectory = "/home/daniel/.home/.cache/nightly-flake-builds"; Type = "oneshot"; User = "daniel"; }; @@ -447,6 +459,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 } { # family storage + users.extraGroups = { + "family" = {}; + }; systemd.tmpfiles.settings = { "10-family" = { "/storage/family" = {