28 lines
555 B
Nix
28 lines
555 B
Nix
{ pkgs, unstable, extra, config, ... }:
|
|
let common = rec {
|
|
username = config.user;
|
|
homeDir = "/home/${username}";
|
|
};
|
|
in {
|
|
imports = builtins.map (x: import x { inherit pkgs unstable extra common config; }) ([
|
|
./applications.nix
|
|
./fetch.nix
|
|
./git.nix
|
|
./gpg.nix
|
|
./hm-settings.nix
|
|
./launcher.nix
|
|
./media.nix
|
|
./neovim.nix
|
|
./plasma.nix
|
|
./shell.nix
|
|
./ssh.nix
|
|
./terminal.nix
|
|
./tmux.nix
|
|
./xdg-dirs.nix
|
|
./xinitrc.nix
|
|
] ++ (if config.i3-plasma then [
|
|
./i3.nix
|
|
./picom.nix
|
|
] else []));
|
|
}
|