nix/home-manager/default.nix
2023-08-23 19:49:37 +09:00

19 lines
No EOL
603 B
Nix

{ config, pkgs, hostname, username, desktop, hmStateVersion, ... }: {
imports = [
# Common app configs - Will apply to all users managed by home-manager
./common/software/cli/bash.nix
./common/software/cli/btop.nix
./common/software/cli/git.nix
./common/software/cli/kitty.nix
./common/software/cli/neofetch.nix
./common/software/cli/neovim.nix
# User configs
./users/${username}
]
++ lib.optional (builtins.isString.desktop) [
./common/software/gui/firefox.nix
./common/software/gui/thunderbird.nix
./hosts/${hostname}/desktops/${desktop}
];
}