fix(fruitbook): 전지 그림을 보임
그런데 한 거만 해야 돼: upower을 켰어.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
sydpkgs.overlay.enable = true;
|
||||
dank-material-shell.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
upower.enable = true;
|
||||
|
||||
users.users = [
|
||||
# "crumb"
|
||||
|
||||
12
modules/nixos/upower.nix
Normal file
12
modules/nixos/upower.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user