[feat] inherit device for home-manager linux
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user