nixos: remove unnecessary if..then..else.. statements

This commit is contained in:
Wroclaw 2024-08-08 05:06:10 +02:00
parent 6f5829e6ab
commit 375a3f379e
2 changed files with 4 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, unstablePkgs, ... }:
{ config, lib, pkgs, unstablePkgs, ... }:
{
imports = [
@ -11,8 +11,7 @@
extraGroups = [
"users"
"wheel"
(if config.programs.adb.enable then "adbusers" else null)
];
] ++ lib.optional config.programs.adb.enable "adbusers";
linger = true;
initialPassword = "nixos";
packages = with pkgs; [