Reformat
This commit is contained in:
@ -460,19 +460,21 @@ 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:
|
||||||
# p.rich
|
with p; [
|
||||||
# p.numpy
|
# p.rich
|
||||||
# p.scipy
|
# p.numpy
|
||||||
# p.matplotlib
|
# p.scipy
|
||||||
# p.pillow # for ranger
|
# p.matplotlib
|
||||||
# p.pygments # for emacs
|
# p.pillow # for ranger
|
||||||
|
# p.pygments # for emacs
|
||||||
|
|
||||||
# For nvim CHADtree
|
# For nvim CHADtree
|
||||||
pyyaml
|
pyyaml
|
||||||
std2
|
std2
|
||||||
pynvim
|
pynvim
|
||||||
]))
|
pynvim-pp
|
||||||
|
]))
|
||||||
jetbrains.clion
|
jetbrains.clion
|
||||||
jetbrains.rust-rover
|
jetbrains.rust-rover
|
||||||
jetbrains.pycharm-professional
|
jetbrains.pycharm-professional
|
||||||
|
@ -14,12 +14,13 @@ 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;
|
||||||
(optionals cfg.google [
|
builtins.concatLists [
|
||||||
google-chrome # Trash, but required for decker pdf export
|
(optionals cfg.google [
|
||||||
(pkgs.writeShellScriptBin "chrome" "exec -a $0 ${google-chrome}/bin/google-chrome-stable $@")
|
google-chrome # Trash, but required for decker pdf export
|
||||||
])
|
(pkgs.writeShellScriptBin "chrome" "exec -a $0 ${google-chrome}/bin/google-chrome-stable $@")
|
||||||
];
|
])
|
||||||
|
];
|
||||||
|
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -96,18 +96,18 @@
|
|||||||
# videoDrivers = ["amdgpu"];
|
# videoDrivers = ["amdgpu"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# NOTE: This has been relocated here from the default config, because it forces en-US keyboard layout
|
# NOTE: This has been relocated here from the default config, because it forces en-US keyboard layout
|
||||||
# The laptop needs de-DE...
|
# The laptop needs de-DE...
|
||||||
# Chinese Input
|
# Chinese Input
|
||||||
i18n.inputMethod.enabled = "fcitx5";
|
i18n.inputMethod.enabled = "fcitx5";
|
||||||
i18n.inputMethod.fcitx5 = {
|
i18n.inputMethod.fcitx5 = {
|
||||||
waylandFrontend = true;
|
waylandFrontend = true;
|
||||||
|
|
||||||
addons = with pkgs; [
|
addons = with pkgs; [
|
||||||
fcitx5-gtk
|
fcitx5-gtk
|
||||||
libsForQt5.fcitx5-qt
|
libsForQt5.fcitx5-qt
|
||||||
fcitx5-chinese-addons
|
fcitx5-chinese-addons
|
||||||
fcitx5-configtool # TODO: Remove this and set config through HomeManager
|
fcitx5-configtool # TODO: Remove this and set config through HomeManager
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user