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