From 63a13eec2e41ba8b1f3b117d3eb45db5c94781e5 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 3 Dec 2026 23:14:10 +0100 Subject: modules/fupdate: Init Migrate away from `legacy/pkgs/default.nix`. --- modules/by-name/fu/fupdate/module.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/by-name/fu/fupdate/module.nix (limited to 'modules/by-name/fu') diff --git a/modules/by-name/fu/fupdate/module.nix b/modules/by-name/fu/fupdate/module.nix new file mode 100644 index 00000000..2f02d125 --- /dev/null +++ b/modules/by-name/fu/fupdate/module.nix @@ -0,0 +1,30 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + config, + lib, + pkgs, + ... +}: let + cfg = config.soispha.programs.fupdate; +in { + options.soispha.programs.fupdate = { + enable = lib.mkEnableOption "fupdate"; + }; + + config = lib.mkIf cfg.enable { + environment.packages = [ + pkgs.fupdate + pkgs.fupdate-sys + pkgs.fupdate-sys2 + pkgs.fupdate-flake + ]; + }; +} -- cgit v1.3.1