nix/home-manager/default.nix

17 lines
693 B
Nix
Raw Normal View History

2023-08-23 12:50:02 +02:00
{ lib, config, pkgs, hostname, username, desktop, hmStateVersion, ... }: {
2023-08-15 11:56:20 +02:00
imports = [
2023-08-23 12:24:47 +02:00
# Common app configs - Will apply to all users managed by home-manager
2023-08-23 07:30:15 +02:00
./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}
]
2023-08-23 12:54:11 +02:00
++ lib.optional (builtins.isString desktop) [ ./common/software/gui/firefox.nix ]
++ lib.optional (builtins.isString desktop) [ ./common/software/gui/thunderbird.nix ]
++ lib.optional (builtins.isString desktop) [ ./hosts/${hostname}/desktops/${desktop} ];
2023-08-15 11:56:20 +02:00
}