Evie Litherland-Smith
8c5ba7f4c3
Move home-manager setup back into being NixOS module where possible Parameterise common elements of system config to minimise rewriting and pass as function to all places needed
21 lines
369 B
Nix
21 lines
369 B
Nix
{ pkgs, user, shellConfig, ... }:
|
|
let homeDirectory = "/home/${user}";
|
|
in {
|
|
imports = [
|
|
shellConfig
|
|
../../home/emacs
|
|
../../home/git
|
|
../../home/ssh
|
|
../../home/tui
|
|
];
|
|
home = {
|
|
inherit homeDirectory;
|
|
username = user;
|
|
stateVersion = "22.11";
|
|
};
|
|
programs = {
|
|
home-manager.enable = true;
|
|
emacs.package = pkgs.emacs29;
|
|
};
|
|
}
|