fix rebuilds and broken packages after update

This commit is contained in:
Noah Masur
2025-11-15 10:40:33 -05:00
parent 5c922310f5
commit e4a8ef15ce
6 changed files with 39 additions and 15 deletions

View File

@@ -214,7 +214,7 @@ in
if terminal == pkgs.wezterm then
"start --class com.noah.aerc -- aerc"
else
"--class=com.noah.aerc -e=aerc";
"--class=com.noah.aerc -e aerc";
in
"exec ${
# Don't name the script `aerc` or it will affect grep

View File

@@ -29,6 +29,18 @@ in
doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path}
'';
};
rebuildNixosAndPause = lib.mkOption {
type = lib.types.package;
default = pkgs.writeShellScriptBin "rebuild-nixos-pause" ''
${lib.getExe cfg.commands.rebuildNixos} || read
'';
};
rebuildHomeAndPause = lib.mkOption {
type = lib.types.package;
default = pkgs.writeShellScriptBin "rebuild-home-pause" ''
${lib.getExe cfg.commands.rebuildHome} || read
'';
};
};
};

View File

@@ -22,6 +22,6 @@ in
# Broken on 2023-12-11
# https://forum.obsidian.md/t/electron-25-is-now-eol-please-upgrade-to-a-newer-version/72878/8
# insecurePackages = [ "electron-25.9.0" ];
# allowInsecurePackages = [ "electron-36.9.5" ];
};
}