[feat] inherit device for home-manager linux

This commit is contained in:
Uttarayan
2024-02-15 07:21:57 +05:30
parent ea57c3c97f
commit 6537b4e784
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
.PHONY: darwin build default .PHONY: darwin home default
default: build
default: home
darwin: darwin:
nix run nix-darwin -- switch --flake ~/.local/share/dotfiles/config/nix nix run nix-darwin -- switch --flake ~/.local/share/dotfiles/config/nix

View File

@@ -57,6 +57,9 @@
in in
home-manager.lib.homeManagerConfiguration { home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = {
inherit device;
};
modules = [ modules = [
./common/home.nix ./common/home.nix
{ {