Compare commits
2 commits
6cf28e30a7
...
747c01370a
| Author | SHA1 | Date | |
|---|---|---|---|
| 747c01370a | |||
| 50766db8c9 |
4 changed files with 20 additions and 0 deletions
9
roles/desktop/configuration.nix
Normal file
9
roles/desktop/configuration.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [ pkgs.sane-airscan ];
|
||||
};
|
||||
users.users.toast.extraGroups = [ "scanner" ];
|
||||
}
|
||||
|
|
@ -4,5 +4,6 @@
|
|||
imports = [
|
||||
./services
|
||||
./programs
|
||||
./configuration.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@
|
|||
./flatpak.nix
|
||||
./syncthing.nix
|
||||
./pipewire.nix
|
||||
./printing.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
9
roles/desktop/services/printing.nix
Normal file
9
roles/desktop/services/printing.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.printing = {
|
||||
enable = true;
|
||||
startWhenNeeded = true;
|
||||
stateless = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue