nixos/hosts/Legion/home.nix
Evie Litherland-Smith 8c5ba7f4c3 Major rewrite to system config
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
2023-08-31 12:22:29 +01:00

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;
};
}