mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-09-06 02:40:39 +00:00
sops stuff
This commit is contained in:
12
darwin.nix
12
darwin.nix
@@ -1,5 +1,10 @@
|
||||
{ flake }:
|
||||
{ pkgs, host, ... }:
|
||||
{
|
||||
pkgs,
|
||||
host,
|
||||
flake,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
@@ -57,7 +62,8 @@
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = import ./cask.nix;
|
||||
# casks = (if builtins.hasAttr "casks" host then host.casks else [ ]) ++ (import ./cask.nix);
|
||||
casks = (lib.attrByPath [ "extras" "casks" ] [ ] host) ++ (import ./cask.nix);
|
||||
taps = [ "lihaoyun6/tap" ];
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
|
Reference in New Issue
Block a user