mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +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
|
in
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [self.homeManagerModules."user-willem-${systemType}"];
|
modules = [self.homeManagerModules."user-willem-${systemType}" {nix.package = pkgs.nix;}];
|
||||||
};
|
};
|
||||||
packages = let
|
packages = let
|
||||||
activationPackages = builtins.mapAttrs (_: lib.getAttr "activationPackage") homeConfigurations;
|
activationPackages = builtins.mapAttrs (_: lib.getAttr "activationPackage") homeConfigurations;
|
||||||
|
|
|
@ -5,12 +5,6 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
flake.overlays = {
|
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;
|
default = import ../packages;
|
||||||
rycee-firefox-addons = final: prev: {rycee-firefox-addons = inputs.rycee-firefox-addons.outputs.packages.${prev.system};};
|
rycee-firefox-addons = final: prev: {rycee-firefox-addons = inputs.rycee-firefox-addons.outputs.packages.${prev.system};};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,17 +1,11 @@
|
||||||
{
|
{
|
||||||
home.file = {
|
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 = ''
|
".config/nixpkgs/config.nix".text = ''
|
||||||
# -*-nix-*-
|
# -*-nix-*-
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfreePredicate = (_: true);
|
nixpkgs.config.allowUnfreePredicate = (_: true);
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue