fix cerubld -> snowbld
This commit is contained in:
parent
6c1a0a5d33
commit
22c31ad331
2 changed files with 6 additions and 2 deletions
2
TODO.md
2
TODO.md
|
|
@ -1,3 +1,5 @@
|
||||||
|
- [ ] add home support for `me@myputer` syntax that would extend the `me` user
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
- [ ] formalize how the snow flake system compiles outputs, this would remove the need for `mapNodes`
|
- [ ] formalize how the snow flake system compiles outputs, this would remove the need for `mapNodes`
|
||||||
- [ ] groups should allow you to set node configuration defaults
|
- [ ] groups should allow you to set node configuration defaults
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@
|
||||||
user = node.deploy.ssh.user;
|
user = node.deploy.ssh.user;
|
||||||
cfg = config.users.users.${user};
|
cfg = config.users.users.${user};
|
||||||
|
|
||||||
DEFAULT_USER = "cerubld";
|
# use options and config instead of hardcoding
|
||||||
|
# (the same value is accessible in nix/snow/flake/nodes/node.nix)
|
||||||
|
DEFAULT_USER = "snowbld";
|
||||||
|
|
||||||
isStandardDeployUser = user == DEFAULT_USER;
|
isStandardDeployUser = user == DEFAULT_USER;
|
||||||
in {
|
in {
|
||||||
|
|
@ -71,7 +73,7 @@ in {
|
||||||
group = user;
|
group = user;
|
||||||
|
|
||||||
createHome = true;
|
createHome = true;
|
||||||
home = "/var/lib/cerulean/cerubld";
|
home = "/var/lib/cerulean/${user}";
|
||||||
|
|
||||||
useDefaultShell = false;
|
useDefaultShell = false;
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue