Closed samhh closed 2 years ago
mkIf isn't enough to prevent:
mkIf
error: The option `security.doas' does not exist. Definition values: - In `/nix/store/wn7z34vrxpqddk3iv640vqvgdmvbakg8-source/modules/headful/terminal.nix'
https://discourse.nixos.org/t/how-to-write-a-universal-module-that-can-work-on-darwin-using-nix-darwin-nixos/11568/8
Essentially this but for system level: https://github.com/nix-community/home-manager/issues/1906
https://github.com/samhh/dotfiles/commit/aaf8cefbc25f5e2f329954412d7bf5362e0d382a
mkIf
isn't enough to prevent: