feat: adds swaylock for desktop + formatting

This commit is contained in:
Ahwx 2025-04-08 14:01:58 +02:00
parent 281de396ec
commit 7744c92905

View file

@ -1,8 +1,16 @@
{ lib, pkgs, config, username, home-manager, ... }:
{
lib,
pkgs,
config,
username,
home-manager,
...
}:
with lib;
let
cfg = config.liv.desktop;
in {
in
{
options.liv.desktop = {
enable = mkEnableOption "Enable desktop";
};
@ -12,6 +20,7 @@ in {
users.${username} = {
home.packages = with pkgs; [
# Home packages
swaylock
];
};
};
@ -19,12 +28,11 @@ in {
networking.networkmanager.enable = true;
boot = {
kernelModules = ["acpi_call"];
extraModulePackages = with config.boot.kernelPackages;
[
acpi_call
];
};
kernelModules = [ "acpi_call" ];
extraModulePackages = with config.boot.kernelPackages; [
acpi_call
];
};
services = {
thermald.enable = true;
hardware.openrgb = {