sandbox for 3d printing

This commit is contained in:
Christoph Cullmann 2024-12-26 16:50:57 +01:00
parent 8719f75384
commit 5091d61a3a
No known key found for this signature in database

View file

@ -95,6 +95,27 @@ in
# use fixed auth keys # use fixed auth keys
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys; openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
}; };
#
# sandbox for 3d printing
#
users.sandbox-3d-printing = {
# home on persistent volume
home = "/data/home/sandbox-3d-printing";
# hard code UID for stability over machines
# out of range of normal login users
uid = 32002;
# normal user
isNormalUser = true;
# sandbox user
description = "Sandbox 3D Printing";
# use fixed auth keys
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
};
}; };
# home manager settings # home manager settings
@ -166,5 +187,17 @@ in
}; };
}; };
}; };
# 3d printing user with extra settings
users.sandbox-3d-printing = {
# shared config
imports = [ ./home.nix ];
# install 3d printing stuff
home.packages = with pkgs; [
bambu-studio
orca-slicer
];
};
}; };
} }