style: use alejandra formatter on all nix files
This commit is contained in:
parent
d563805909
commit
0d8a394dcf
76 changed files with 1287 additions and 935 deletions
|
@ -1,15 +1,16 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.hardware.lact;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.hardware.lact;
|
||||
in {
|
||||
options.modules.hardware.lact = {
|
||||
enable = mkEnableOption "Install LACT daemon";
|
||||
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
# Enable Lact (testing purpose for now)
|
||||
environment.systemPackages = with pkgs; [
|
||||
lact
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.hardware.laptop;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.hardware.laptop;
|
||||
in {
|
||||
options.modules.hardware.laptop = {
|
||||
enable = mkEnableOption "Install Laptop utils";
|
||||
|
||||
|
@ -25,7 +27,6 @@ in
|
|||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
# Wifi is installed on laptops
|
||||
networking.wireless.iwd.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue