flake-parts: Babysteps towards a first trial run of the new config
This commit is contained in:
parent
fe6de112e6
commit
d579c8ad2c
5 changed files with 232 additions and 16 deletions
19
modules/users/root/default.nix
Normal file
19
modules/users/root/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
flake = {
|
||||
modules.nixos.root =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.root = {
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = config.flake.meta.users.cholli.authorizedKeys;
|
||||
initialPassword = "asdf1234";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue