sandbox for 3d printing
This commit is contained in:
parent
8719f75384
commit
5091d61a3a
1 changed files with 33 additions and 0 deletions
|
@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue