This commit is contained in:
2026-03-04 15:26:23 +01:00
parent a439ad7575
commit 3e5e3cfe32
4 changed files with 356 additions and 362 deletions
+2 -4
View File
@@ -1055,7 +1055,7 @@ in
These are global nix settings that configure the settings for the actual tool.
#+begin_src nix :tangle configuration/core/nix-settings.nix :noweb tangle :mkdirp yes
{ pkgs, user, ... } :
{ pkgs, user, ... } :
{
nix.settings = {
# enable flakes
@@ -1074,8 +1074,6 @@ These are global nix settings that configure the settings for the actual tool.
# allow proprietary software on this machine. I'm not a purist.
nixpkgs.config.allowUnfree = true;
# unityhub depends on this... for now
# nixpkgs.config.permittedInsecurePackages = [ "libxml2-2.13.8" ];
# this declares how often old configurations are cleared up.
# i cleanup anything older than a week, every week.
@@ -1461,7 +1459,7 @@ The configuration is done in the home manager section.
#+begin_src nix :tangle configuration/end_script.nix :noweb tangle :mkdirp yes
{ lib, config, pkgs, ... }:
let
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
scriptPath = "${pkgs.path}/../assets/scripts/end_script.sh";
scriptExists = builtins.pathExists scriptPath;
in
{