Move shared Home Manager configuration

This commit is contained in:
Oliver Davies 2025-03-29 23:24:59 +00:00
parent 1aa18760f9
commit f28ccbf45d
3 changed files with 14 additions and 37 deletions

View file

@ -30,18 +30,6 @@ let
inherit (pkgs) lib;
shared-config = import "${self}/lib/shared/home-manager.nix" {
inherit
config
hostname
inputs
lib
pkgs
self
username
;
};
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {
inherit
headless
@ -55,7 +43,7 @@ in
imports =
[
../common
shared-config
./home.nix
./modules
]
++ pkgs.lib.optionals (!headless) [

13
home/opdavies/home.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, ... }:
{
home.username = "opdavies";
home.homeDirectory = "/home/${config.home.username}";
home.stateVersion = "22.05";
programs.home-manager.enable = true;
# Nicely reload system units when changing configs.
systemd.user.startServices = "sd-switch";
}