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
|
||||
- [ ] formalize how the snow flake system compiles outputs, this would remove the need for `mapNodes`
|
||||
- [ ] groups should allow you to set node configuration defaults
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@
|
|||
user = node.deploy.ssh.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;
|
||||
in {
|
||||
|
|
@ -71,7 +73,7 @@ in {
|
|||
group = user;
|
||||
|
||||
createHome = true;
|
||||
home = "/var/lib/cerulean/cerubld";
|
||||
home = "/var/lib/cerulean/${user}";
|
||||
|
||||
useDefaultShell = false;
|
||||
shell = pkgs.bash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue