fixup! New install
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 = [ ];
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
lib.mkIf config.services.printing.enable {
|
lib.mkIf config.services.printing.enable {
|
||||||
services.avahi = {
|
services = {
|
||||||
|
printing.drivers = with pkgs; [
|
||||||
|
brlaser
|
||||||
|
];
|
||||||
|
|
||||||
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user