mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
fix home build
This commit is contained in:
parent
c806b5cc27
commit
56a810a97b
3 changed files with 1 additions and 13 deletions
|
@ -47,7 +47,7 @@
|
|||
in
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [self.homeManagerModules."user-willem-${systemType}"];
|
||||
modules = [self.homeManagerModules."user-willem-${systemType}" {nix.package = pkgs.nix;}];
|
||||
};
|
||||
packages = let
|
||||
activationPackages = builtins.mapAttrs (_: lib.getAttr "activationPackage") homeConfigurations;
|
||||
|
|
|
@ -5,12 +5,6 @@
|
|||
...
|
||||
}: {
|
||||
flake.overlays = {
|
||||
apps = final: prev: (
|
||||
let
|
||||
appsDir = self.lib.importDirToAttrs ../apps;
|
||||
in
|
||||
lib.mapAttrs (name: value: value.definition self.lib prev) appsDir
|
||||
);
|
||||
default = import ../packages;
|
||||
rycee-firefox-addons = final: prev: {rycee-firefox-addons = inputs.rycee-firefox-addons.outputs.packages.${prev.system};};
|
||||
};
|
||||
|
|
|
@ -1,17 +1,11 @@
|
|||
{
|
||||
home.file = {
|
||||
".config/nix/nix.conf".text = ''
|
||||
allow-dirty = true
|
||||
experimental-features = flakes nix-command repl-flake
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
".config/nixpkgs/config.nix".text = ''
|
||||
# -*-nix-*-
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = (_: true);
|
||||
allowUnfree = true;
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue