feat: add dependencies to host in home-manager

This commit is contained in:
2026-08-19 21:41:38 +03:00
committed by Sweetbread
parent 598bf6a35d
commit 9033cfe614
10 changed files with 38 additions and 14 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, pkgs-stable, pkgs-fixed, lib, inputs, name, fullname ? name, ... }: {
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, laptop, name, fullname ? name, ... }: {
imports = [
inputs.home-manager.nixosModules.home-manager {
home-manager = {
@@ -27,6 +27,10 @@
inherit inputs;
inherit pkgs-stable;
inherit pkgs-fixed;
host = {
laptop = laptop;
name = config.networking.hostName;
};
};
};
}