mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds swaylock for desktop + formatting
This commit is contained in:
parent
281de396ec
commit
7744c92905
1 changed files with 25 additions and 17 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
@ -20,8 +29,7 @@ in {
|
|||
|
||||
boot = {
|
||||
kernelModules = [ "acpi_call" ];
|
||||
extraModulePackages = with config.boot.kernelPackages;
|
||||
[
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
acpi_call
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue