summaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-12-03 23:27:10 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-12-03 23:29:06 +0100
commit30d0c73c63b34bb956cfc4aeda8cb98d631e49d6 (patch)
tree02b24750deda81a7af4d5d1cc5c1a0c3fcd356bc /modules/by-name
parentmodules/fupdate: Add binaries to the correct `environment.systemPackages` (diff)
downloadnixos-config-30d0c73c63b34bb956cfc4aeda8cb98d631e49d6.zip
modules/fupdate: Load the packages to the home packages
Otherwise, we don't get the completions.
Diffstat (limited to 'modules/by-name')
-rw-r--r--modules/by-name/fu/fupdate/module.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/by-name/fu/fupdate/module.nix b/modules/by-name/fu/fupdate/module.nix
index a11f42f5..88e874b9 100644
--- a/modules/by-name/fu/fupdate/module.nix
+++ b/modules/by-name/fu/fupdate/module.nix
@@ -20,11 +20,13 @@ in {
};
config = lib.mkIf cfg.enable {
- environment.systemPackages = [
- pkgs.fupdate
- pkgs.fupdate-sys
- pkgs.fupdate-sys2
- pkgs.fupdate-flake
- ];
+ home-manager.users.soispha = {
+ home.packages = [
+ pkgs.fupdate
+ pkgs.fupdate-sys
+ pkgs.fupdate-sys2
+ pkgs.fupdate-flake
+ ];
+ };
};
}