chore: prepare config structure for multiple hosts
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./home-manager/home.nix
|
||||
./home-manager/desktop/leonhard.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
outputs.homeManagerModules
|
||||
|
||||
@@ -24,11 +21,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "leonhard";
|
||||
homeDirectory = "/home/leonhard";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(import ../base.nix { inherit inputs outputs; })
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "leonhard";
|
||||
homeDirectory = "/home/leonhard";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user