Skip to content

Commit

Permalink
home-manager: fix build in non-Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 19, 2023
1 parent 39f27d1 commit c3d5e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, flake, osConfig, ... }:
{ pkgs, lib, flake, osConfig, ... }:

{
imports = [
Expand All @@ -17,5 +17,5 @@
nixpkgs.overlays = [ (import ../overlays { inherit flake; }) ];

# Assume that this is a non-NixOS system
targets.genericLinux.enable = lib.mkDefault true;
targets.genericLinux.enable = lib.mkIf pkgs.stdenv.isLinux (lib.mkDefault true);
}

0 comments on commit c3d5e1d

Please sign in to comment.