Apply a minor refactor to some configurations

This commit is contained in:
coolneng 2021-08-09 01:11:33 +01:00
parent f5b58f97ca
commit a08e0908a9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 7 additions and 5 deletions

View File

@ -10,8 +10,10 @@
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
blacklistedKernelModules = [ "btusb" ]; blacklistedKernelModules = [ "btusb" ];
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
zfs.requestEncryptionCredentials = true; zfs = {
zfs.enableUnstable = true; requestEncryptionCredentials = true;
enableUnstable = true;
};
}; };
# Intel CPU tweaks # Intel CPU tweaks

View File

@ -4,7 +4,7 @@ with pkgs;
let let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: with epkgs; [ vterm ])); (epkgs: [ epkgs.vterm ]));
in { in {
# Upgrade Doom Emacs daily # Upgrade Doom Emacs daily
@ -32,7 +32,7 @@ in {
# Upgrade Neovim plugins weekly # Upgrade Neovim plugins weekly
systemd.user.services.vim-plug-upgrade = { systemd.user.services.vim-plug-upgrade = {
description = "Upgrade Vim-Plug"; description = "Upgrade Vim-Plug";
path = [ pkgs.git pkgs.neovim ]; path = [ git neovim ];
script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa"; script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
startAt = "Wed 18:00:00"; startAt = "Wed 18:00:00";
@ -41,7 +41,7 @@ in {
# Push password-store changes to git daily # Push password-store changes to git daily
systemd.user.services.password-store-push = { systemd.user.services.password-store-push = {
description = "Push password-store changes to git"; description = "Push password-store changes to git";
path = [ pkgs.pass-wayland pkgs.git pkgs.gitAndTools.pass-git-helper ]; path = [ pass-wayland git gitAndTools.pass-git-helper ];
script = "${pkgs.pass-wayland}/bin/pass git push"; script = "${pkgs.pass-wayland}/bin/pass git push";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
startAt = "18:00:00"; startAt = "18:00:00";