Start to extract common host configuration
This commit is contained in:
parent
07c6bd0ac7
commit
9088dac46d
5 changed files with 21 additions and 13 deletions
16
nix/hosts/common/default.nix
Normal file
16
nix/hosts/common/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
hostname,
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
||||
outputs.nixosModules.default
|
||||
];
|
||||
|
||||
networking.hostName = hostname;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue