This commit is contained in:
parent
c520512399
commit
e7ecd05161
2 changed files with 17 additions and 1 deletions
|
@ -266,6 +266,7 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
family-users
|
||||||
common
|
common
|
||||||
podman
|
podman
|
||||||
troubleshooting-tools
|
troubleshooting-tools
|
||||||
|
|
|
@ -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" = {
|
systemd.services."build-lytedev-flake" = {
|
||||||
# TODO: might want to add root for the most recent results?
|
# TODO: might want to add root for the most recent results?
|
||||||
script = ''
|
script = ''
|
||||||
|
@ -153,7 +165,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
path = with pkgs; [openssh git nixos-rebuild];
|
path = with pkgs; [openssh git nixos-rebuild];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# TODO: mkdir -p...?
|
# TODO: mkdir -p...?
|
||||||
WorkingDirectory = "/home/daniel/.home/nightly-flake-builds";
|
WorkingDirectory = "/home/daniel/.home/.cache/nightly-flake-builds";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "daniel";
|
User = "daniel";
|
||||||
};
|
};
|
||||||
|
@ -447,6 +459,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# family storage
|
# family storage
|
||||||
|
users.extraGroups = {
|
||||||
|
"family" = {};
|
||||||
|
};
|
||||||
systemd.tmpfiles.settings = {
|
systemd.tmpfiles.settings = {
|
||||||
"10-family" = {
|
"10-family" = {
|
||||||
"/storage/family" = {
|
"/storage/family" = {
|
||||||
|
|
Loading…
Reference in a new issue