From 6607b612ebd7931a8a0b8ef0132d9d47460f221d Mon Sep 17 00:00:00 2001 From: chest Date: Sun, 20 Jul 2025 14:08:02 +0300 Subject: [PATCH] fixup! New install --- host/Eclipse/configuration.nix | 1 + host/Eclipse/hardware-configuration.nix | 4 ++-- modules/host/printing.nix | 16 +++++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/host/Eclipse/configuration.nix b/host/Eclipse/configuration.nix index 803593f..d2ca628 100644 --- a/host/Eclipse/configuration.nix +++ b/host/Eclipse/configuration.nix @@ -28,4 +28,5 @@ in { nixpkgs.config.allowBroken = true; programs.gamemode.enable = true; + services.printing.enable = true; } diff --git a/host/Eclipse/hardware-configuration.nix b/host/Eclipse/hardware-configuration.nix index 2f1229b..bd5a850 100644 --- a/host/Eclipse/hardware-configuration.nix +++ b/host/Eclipse/hardware-configuration.nix @@ -27,13 +27,13 @@ fileSystems."/mnt/D" = { device = "/dev/disk/by-uuid/E030A4DF30A4BDC2"; fsType = "ntfs"; - options = ["umask=0022" "gid=100" "uid=1002" "nofail" ]; + options = ["umask=0022" "gid=100" "uid=1000" "nofail" ]; }; fileSystems."/mnt/F" = { device = "/dev/disk/by-uuid/1C6278FC2848E1EF"; fsType = "ntfs"; - options = ["umask=0022" "gid=100" "uid=1002" "nofail" ]; + options = ["umask=0022" "gid=100" "uid=1000" "nofail" ]; }; swapDevices = [ ]; diff --git a/modules/host/printing.nix b/modules/host/printing.nix index 1039185..410c6fe 100644 --- a/modules/host/printing.nix +++ b/modules/host/printing.nix @@ -1,9 +1,15 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: lib.mkIf config.services.printing.enable { - services.avahi = { - enable = true; - nssmdns4 = true; - openFirewall = true; + services = { + printing.drivers = with pkgs; [ + brlaser + ]; + + avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; }; }