Apply a minor refactor to some configurations
This commit is contained in:
parent
f5b58f97ca
commit
a08e0908a9
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue