mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
refactor: rfc formatting
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
{ pkgs, lib, config, username, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
||||
let cfg = config.services.airprint;
|
||||
|
||||
in {
|
||||
let
|
||||
cfg = config.services.airprint;
|
||||
in
|
||||
{
|
||||
options.services.airprint = {
|
||||
enable = mkEnableOption "Enable printing over the air using sane and avahi";
|
||||
};
|
||||
@@ -19,6 +26,9 @@ in {
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
users.users.${username}.extraGroups = [ "lp" "scanner" ];
|
||||
users.users.${username}.extraGroups = [
|
||||
"lp"
|
||||
"scanner"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user