Refactor Home Manager modules

This commit is contained in:
Oliver Davies 2025-01-15 08:00:00 +00:00
parent 5229429bc4
commit 7771c88040
6 changed files with 22 additions and 29 deletions

View file

@ -1,12 +1,5 @@
{
config,
hostname,
inputs,
lib,
pkgs,
username,
self,
}:
{ lib, username, ... }:
{
home.username = "${username}";
home.homeDirectory = "/home/${username}";
@ -41,18 +34,4 @@
};
}
];
imports = [
(import ../../modules/home-manager {
inherit
config
inputs
lib
self
pkgs
;
})
../../home/${username}/hosts/${hostname}.nix
];
}