added brother printer

This commit is contained in:
Alexander Szczepanski
2021-06-14 16:20:41 +02:00
parent 9bec0ed0ff
commit 5f6d182135
3 changed files with 39 additions and 6 deletions

View File

@ -19,6 +19,7 @@
iotop
lm_sensors
lsof
manpages
ncdu
nodejs
pciutils
@ -27,7 +28,7 @@
sshfs
tealdeer
tree
manpages
usbutils
zsh
];

View File

@ -8,7 +8,7 @@
users.alex = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "networkmanager" "libvirtd" ];
extraGroups = [ "wheel" "docker" "networkmanager" "libvirtd" "lp"];
};
};
@ -83,6 +83,38 @@
# };
};
rofi = {
enable = true;
lines = 10;
borderWidth = 0;
scrollbar = false;
padding = 50;
font = "Roboto 20";
separator = "solid";
colors = {
window = {
background = "#dd000000";
border = "#a6a6a6";
separator = "#a6a6a6";
};
rows = {
normal = {
background = "#00000000";
foreground = "#a6a6a6";
backgroundAlt = "#000000";
highlight = {
background = "#a6a6a6";
foreground = "#000000";
};
};
};
};
extraConfig = {
modi = "drun,window";
show-icons = true;
};
};
mpv = {
enable = true;
};

View File

@ -141,7 +141,7 @@ in
# Enable CUPS to print documents.
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
@ -217,10 +217,10 @@ in
services.openssh.enable = true;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 52698 ];
networking.firewall.allowedUDPPorts = [ 52698 ];
#networking.firewall.allowedTCPPorts = [ 52698 ];
#networking.firewall.allowedUDPPorts = [ 52698 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions