2024-02-14 12:06:23 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
username = "leo";
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
(lib.mkAliasOptionModule ["hm"] ["home-manager" "users" username])
|
|
|
|
|
|
|
|
../../programs/fish.nix
|
|
|
|
../../programs/git.nix
|
2024-02-14 15:05:21 +01:00
|
|
|
../../programs/starship
|
2024-02-14 12:06:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
hm.home.stateVersion = "23.11";
|
|
|
|
|
|
|
|
wsl = {
|
|
|
|
enable = true;
|
|
|
|
defaultUser = username;
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users."${username}" = {
|
|
|
|
isNormalUser = true;
|
|
|
|
shell = pkgs.fish;
|
|
|
|
extraGroups = ["wheel"];
|
|
|
|
hashedPasswordFile = config.age.secrets.userPassword.path;
|
|
|
|
};
|
|
|
|
}
|