.files/nix/homeModules/common/leana.nix
Léana 江 ebf8468807
tree-wide: format with nixfmt
Another saturday another useless formatter change.
It's my dotfiles, after all

alejandra doesn't handle c-style inline comments well.
2025-11-08 10:15:58 +08:00

19 lines
326 B
Nix

{
pkgs,
lib,
config,
...
}:
{
home = {
username = lib.mkDefault "leana";
homeDirectory =
let
inherit (config.home) username;
in
lib.mkMerge [
(lib.mkIf pkgs.stdenv.isLinux ("/home/" + username))
(lib.mkIf pkgs.stdenv.isDarwin ("/Users/" + username))
];
};
}