fixup! New install

This commit is contained in:
2025-07-20 14:08:02 +03:00
parent 6c7b897c8d
commit 6607b612eb
3 changed files with 14 additions and 7 deletions
+1
View File
@@ -28,4 +28,5 @@ in {
nixpkgs.config.allowBroken = true; nixpkgs.config.allowBroken = true;
programs.gamemode.enable = true; programs.gamemode.enable = true;
services.printing.enable = true;
} }
+2 -2
View File
@@ -27,13 +27,13 @@
fileSystems."/mnt/D" = { fileSystems."/mnt/D" = {
device = "/dev/disk/by-uuid/E030A4DF30A4BDC2"; device = "/dev/disk/by-uuid/E030A4DF30A4BDC2";
fsType = "ntfs"; fsType = "ntfs";
options = ["umask=0022" "gid=100" "uid=1002" "nofail" ]; options = ["umask=0022" "gid=100" "uid=1000" "nofail" ];
}; };
fileSystems."/mnt/F" = { fileSystems."/mnt/F" = {
device = "/dev/disk/by-uuid/1C6278FC2848E1EF"; device = "/dev/disk/by-uuid/1C6278FC2848E1EF";
fsType = "ntfs"; fsType = "ntfs";
options = ["umask=0022" "gid=100" "uid=1002" "nofail" ]; options = ["umask=0022" "gid=100" "uid=1000" "nofail" ];
}; };
swapDevices = [ ]; swapDevices = [ ];
+11 -5
View File
@@ -1,9 +1,15 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
lib.mkIf config.services.printing.enable { lib.mkIf config.services.printing.enable {
services.avahi = { services = {
enable = true; printing.drivers = with pkgs; [
nssmdns4 = true; brlaser
openFirewall = true; ];
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}; };
} }