Refactor Home Manager modules
This commit is contained in:
parent
5229429bc4
commit
7771c88040
6 changed files with 22 additions and 29 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue