wsl2-specific user config

pull/31/head
Tudor Roman 2023-11-20 10:40:04 +01:00
parent b0bf0d896a
commit bf1e5f897b
2 changed files with 11 additions and 1 deletions

View File

@ -20,11 +20,13 @@
nativeSystemd = true;
};
networking.hostName = "wsl2";
age.secrets.tudor-password = {
file = ../../secrets/wsl2/tudor-password.age;
};
users.users.${vars.username}.passwordFile = config.age.secrets.tudor-password.path;
home-manager.users.tudor = ../../users/tudor;
home-manager.users.tudor = ../../users + "/tudor@wsl2";
}

View File

@ -0,0 +1,8 @@
{ ... }:
{
imports = [ ../tudor ];
homeModules = {
shell.starship.enable = true;
};
}