Add printing & EPFL CUPS drivers
This commit is contained in:
parent
583ed20387
commit
7b47d07932
|
@ -50,6 +50,10 @@
|
|||
};
|
||||
services.logind.lidSwitch = "suspend";
|
||||
|
||||
# Printing
|
||||
services.printing.enable = true;
|
||||
services.printing.drivers = with pkgs;[ epfl-cups-drivers ];
|
||||
|
||||
networking.hostName = "kagami-air-m1"; # Define your hostname.
|
||||
|
||||
# networking.hostName = "nixos"; # Define your hostname.
|
||||
|
|
|
@ -62,6 +62,8 @@ in
|
|||
overlay-aarch64-linux
|
||||
nur.overlay
|
||||
|
||||
(import ./packages/common)
|
||||
|
||||
# Bug fixes
|
||||
] # we assign the overlay created before to the overlays of nixpkgs.
|
||||
|
||||
|
|
3
packages/common/default.nix
Normal file
3
packages/common/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
final: prev: {
|
||||
epfl-cups-drivers = final.callPackage ./epfl-cups-drivers { };
|
||||
}
|
8446
packages/common/epfl-cups-drivers/PPD-C5860-bw-EN.PPD
Normal file
8446
packages/common/epfl-cups-drivers/PPD-C5860-bw-EN.PPD
Normal file
File diff suppressed because it is too large
Load diff
1
packages/common/epfl-cups-drivers/PPD-C5860-color-EN.PPD
Normal file
1
packages/common/epfl-cups-drivers/PPD-C5860-color-EN.PPD
Normal file
File diff suppressed because one or more lines are too long
6
packages/common/epfl-cups-drivers/default.nix
Normal file
6
packages/common/epfl-cups-drivers/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, runCommand, ... }: runCommand "epfl-cups-drivers" { } ''
|
||||
mkdir -p $out/share/cups/model
|
||||
cp ${./PPD-C5860-bw-EN.PPD} $out/share/cups/model
|
||||
cp ${./PPD-C5860-color-EN.PPD} $out/share/cups/model
|
||||
''
|
||||
|
Loading…
Reference in a new issue