feat: init

This commit is contained in:
Nick 2024-10-06 15:25:05 -05:00
commit c19ea940bd
320 changed files with 23845 additions and 0 deletions

25
nixos/modules/printing.nix Executable file
View file

@ -0,0 +1,25 @@
{
hardware.printers = {
ensurePrinters = [
{
name = "Canon-TR7620a";
location = "Downstairs";
deviceUri = "https://10.0.0.234";
model = "drv:///sample.drv/generic.ppd";
ppdOptions = {
PageSize = "Letter";
};
}
{
name = "Brother-HL-2170W";
location = "Upstairs";
deviceUri = "https://10.0.0.97";
model = "drv:///sample.drv/generic.ppd";
ppdOptions = {
PageSize = "Letter";
};
}
];
ensureDefaultPrinter = "Canon-TR7620a";
};
}