nixos builder
This commit is contained in:
@@ -75,7 +75,9 @@ in
|
||||
# Enable Flakes & Commands
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
extraOptions = ''experimental-features = nix-command flakes'';
|
||||
settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
};
|
||||
};
|
||||
|
||||
# SQLite Configuration
|
||||
@@ -84,30 +86,6 @@ in
|
||||
.mode column
|
||||
'';
|
||||
|
||||
# Darwin Spotlight Indexing Hack
|
||||
# home.activation = mkIf isDarwin {
|
||||
# copyApplications =
|
||||
# let
|
||||
# apps = pkgs.buildEnv {
|
||||
# name = "home-manager-applications";
|
||||
# paths = config.home.packages;
|
||||
# pathsToLink = "/Applications";
|
||||
# };
|
||||
# in
|
||||
# lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
# baseDir="$HOME/Applications/Home Manager Apps"
|
||||
# if [ -d "$baseDir" ]; then
|
||||
# rm -rf "$baseDir"
|
||||
# fi
|
||||
# mkdir -p "$baseDir"
|
||||
# for appFile in ${apps}/Applications/*; do
|
||||
# target="$baseDir/$(basename "$appFile")"
|
||||
# $DRY_RUN_CMD cp ''${VERBOSE_ARG:+-v} -fHRL "$appFile" "$baseDir"
|
||||
# $DRY_RUN_CMD chmod ''${VERBOSE_ARG:+-v} -R +w "$target"
|
||||
# done
|
||||
# '';
|
||||
# };
|
||||
|
||||
# Darwin Spotlight Indexing Hack
|
||||
disabledModules = [ "targets/darwin/linkapps.nix" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user