Change directory structure
This commit is contained in:
parent
8f5cba33ae
commit
cd825ea3e6
16 changed files with 0 additions and 0 deletions
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
inputs
|
||||
}:
|
||||
{
|
||||
system,
|
||||
username,
|
||||
email,
|
||||
hostname
|
||||
}:
|
||||
let
|
||||
system-config = import ../module/configuration.nix {inherit hostname;};
|
||||
home-manager-config = import ../module/home-manager.nix {inherit email;};
|
||||
in
|
||||
inputs.darwin.lib.darwinSystem {
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
{
|
||||
services.nix-daemon.enable = true;
|
||||
users.users.${username}.home = "/Users/${username}";
|
||||
}
|
||||
|
||||
system-config
|
||||
|
||||
inputs.home-manager.darwinModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users."${username}" = home-manager-config;
|
||||
home-manager.backupFileExtension = "backup";
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue