Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Feb 5, 2024
1 parent 997012c commit 65368b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/utils/os-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ function parseOsReleaseFile(): Record<string, string> {
}

export const osRelease = parseOsReleaseFile();

export function isNixOS(): boolean {
return osRelease.ID === "nixos";
}

0 comments on commit 65368b1

Please sign in to comment.