1
This commit is contained in:
2024-06-01 19:33:30 +02:00
parent 20cc941580
commit 48b06a2ba9
6 changed files with 44 additions and 35 deletions

View File

@ -460,7 +460,8 @@ rec {
# vale # Why not lint everything (including english)? # 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... # 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.rich
# p.numpy # p.numpy
# p.scipy # p.scipy
@ -472,6 +473,7 @@ rec {
pyyaml pyyaml
std2 std2
pynvim pynvim
pynvim-pp
])) ]))
jetbrains.clion jetbrains.clion
jetbrains.rust-rover jetbrains.rust-rover

View File

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

View File

@ -30,7 +30,10 @@
linkConfig = { linkConfig = {
# This corresponds to the [LINK] section # This corresponds to the [LINK] section
# RequiredForOnline = "routable"; # 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 = { linkConfig = {
# This corresponds to the [LINK] section # This corresponds to the [LINK] section
# RequiredForOnline = "routable"; # 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
}; };
}; };