diff options
Diffstat (limited to 'modules/user/aszlig/profiles/managed.nix')
-rw-r--r-- | modules/user/aszlig/profiles/managed.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/managed.nix b/modules/user/aszlig/profiles/managed.nix index 1287604b..c20fd9aa 100644 --- a/modules/user/aszlig/profiles/managed.nix +++ b/modules/user/aszlig/profiles/managed.nix @@ -21,6 +21,17 @@ in { environment.systemPackages = [ pkgs.simple-scan ]; + nixpkgs.overlays = lib.singleton (lib.const (super: { + # https://github.com/NixOS/systemd/pull/12 + systemd = super.systemd.overrideDerivation (drv: { + patches = (drv.patches or []) ++ lib.singleton (pkgs.fetchpatch { + url = "https://github.com/NixOS/systemd/commit/" + + "6554550f35a7976f9110aff94743d3576d5f02dd.patch"; + sha256 = "07l6wx0pb7pvjx8n9j0rwv5n260crbrfg5rh56l5nfan6biv81cl"; + }); + }) // { inherit (super.systemd) udev; }; + })); + # Printing for the most common printers among the managed machines. services.printing.enable = true; services.printing.drivers = [ |