summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-12-30 15:48:09 -0500
committerFreya Murphy <freya@freyacat.org>2025-12-30 18:37:34 -0500
commit940f63fd49bc9226255456e61aea0383574a7630 (patch)
tree9156441e989cbed329bae042cce0e1efca76b23b /lib
parentupdate firefox policies (diff)
downloaddotfiles-nix-940f63fd49bc9226255456e61aea0383574a7630.tar.gz
dotfiles-nix-940f63fd49bc9226255456e61aea0383574a7630.tar.bz2
dotfiles-nix-940f63fd49bc9226255456e61aea0383574a7630.zip
fix home-manager switch on nixos
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 62efd3f..006e638 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -1,9 +1,11 @@
-{...} @ inputs: let
+{lib, ...} @ inputs: let
callLibs = file: import file inputs;
files = callLibs ./files.nix;
in {
inherit (files) getFiles certs sshKeys gpgKeys;
+ # set of options we want to copy from a system
+ # config to home manager
homeConfig = config:
{
inherit
@@ -40,6 +42,18 @@ in {
# Packages
extraPackages
;
+ nix = lib.mkForce {
+ inherit
+ (config.nix)
+ buildMachines
+ checkConfig
+ distributedBuilds
+ gc
+ package
+ registry
+ settings
+ ;
+ };
}
// config.extraHome;
}