mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-31 05:10:12 +00:00
Move home
This commit is contained in:
parent
d7d6b952d6
commit
d346072104
@ -6,11 +6,11 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
concatAttrVals = attrSet: lib.concatMap (x: x) (lib.attrValues attrSet);
|
concatAttrVals = attrSet: lib.concatMap (x: x) (lib.attrValues attrSet);
|
||||||
tools = import ./tools.nix {
|
tools = import ../modules/tools.nix {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit emacs-larstvei;
|
inherit emacs-larstvei;
|
||||||
};
|
};
|
||||||
languages = import ./languages.nix { inherit pkgs; };
|
languages = import ../modules/languages.nix { inherit pkgs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = concatAttrVals languages ++ concatAttrVals tools;
|
home.packages = concatAttrVals languages ++ concatAttrVals tools;
|
@ -9,6 +9,6 @@
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit emacs-larstvei; };
|
extraSpecialArgs = { inherit emacs-larstvei; };
|
||||||
users.larstvei.imports = [ ../../modules/home.nix ];
|
users.larstvei.imports = [ ../../home ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user