flake/systems/fuji-wsl/default.nix

30 lines
517 B
Nix

{
lib,
pkgs,
config,
...
}: let
username = "leo";
in {
imports = [
(lib.mkAliasOptionModule ["hm"] ["home-manager" "users" username])
../../programs/fish.nix
../../programs/git.nix
../../programs/starship
];
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;
};
}