1
This commit is contained in:
2024-06-01 19:33:30 +02:00
parent 95e88cbea7
commit 86d5a574b8
6 changed files with 44 additions and 35 deletions

View File

@ -460,7 +460,8 @@ rec {
# vale # Why not lint everything (including english)?
# TODO: Development module, I need multiple modules to be able to add python packages to a single python install...
(python311.withPackages (p: with p; [
(python311.withPackages (p:
with p; [
# p.rich
# p.numpy
# p.scipy
@ -472,6 +473,7 @@ rec {
pyyaml
std2
pynvim
pynvim-pp
]))
jetbrains.clion
jetbrains.rust-rover

View File

@ -14,7 +14,8 @@ in {
options.modules.chromium = import ./options.nix {inherit lib mylib;};
config = mkIf cfg.enable {
home.packages = with pkgs; builtins.concatLists [
home.packages = with pkgs;
builtins.concatLists [
(optionals cfg.google [
google-chrome # Trash, but required for decker pdf export
(pkgs.writeShellScriptBin "chrome" "exec -a $0 ${google-chrome}/bin/google-chrome-stable $@")

View File

@ -30,7 +30,10 @@
linkConfig = {
# This corresponds to the [LINK] section
# RequiredForOnline = "routable";
RequiredForOnline = if routable then "routable" else "no"; # Don't make nixos-rebuild wait for systemd-networkd-wait-online.service
RequiredForOnline =
if routable
then "routable"
else "no"; # Don't make nixos-rebuild wait for systemd-networkd-wait-online.service
};
};
@ -76,7 +79,10 @@
linkConfig = {
# This corresponds to the [LINK] section
# RequiredForOnline = "routable";
RequiredForOnline = if routable then "routable" else "no"; # Don't make nixos-rebuild wait for systemd-networkd-wait-online.service
RequiredForOnline =
if routable
then "routable"
else "no"; # Don't make nixos-rebuild wait for systemd-networkd-wait-online.service
};
};