From 087f015340440f801f9666d8038e8806f0cbd1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sun, 22 Mar 2026 00:59:48 -0600 Subject: [PATCH] =?UTF-8?q?fix(fruitbook):=20=EC=A0=84=EC=A7=80=20?= =?UTF-8?q?=EA=B7=B8=EB=A6=BC=EC=9D=84=20=EB=B3=B4=EC=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 그런데 한 거만 해야 돼: upower을 켰어. --- hosts/fruitbook/configuration.nix | 1 + modules/nixos/upower.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/nixos/upower.nix diff --git a/hosts/fruitbook/configuration.nix b/hosts/fruitbook/configuration.nix index 71b7da1..2618982 100644 --- a/hosts/fruitbook/configuration.nix +++ b/hosts/fruitbook/configuration.nix @@ -20,6 +20,7 @@ sydpkgs.overlay.enable = true; dank-material-shell.enable = true; kdeconnect.enable = true; + upower.enable = true; users.users = [ # "crumb" diff --git a/modules/nixos/upower.nix b/modules/nixos/upower.nix new file mode 100644 index 0000000..ac44ac9 --- /dev/null +++ b/modules/nixos/upower.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: + +let cfg = config.sydnix.upower; +in { + options.sydnix.upower = { + enable = lib.mkEnableOption "UPower"; + }; + + config = lib.mkIf cfg.enable { + services.upower.enable = true; + }; +}