diff --git a/modules/datasync.nix b/modules/datasync.nix index a694bbb..6629733 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -31,7 +31,7 @@ devices = [ "zion" ]; versioning = { type = "simple"; - params = { keep = "5"; }; + params.keep = "5"; }; }; @@ -41,7 +41,7 @@ devices = [ "zion" ]; versioning = { type = "simple"; - params = { keep = "5"; }; + params.keep = "5"; }; }; diff --git a/modules/periodic.nix b/modules/periodic.nix index 8e388b2..45207d9 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -1,7 +1,6 @@ { config, lib, pkgs, ... }: { - # Upgrade Doom Emacs daily systemd.user.services.doom-upgrade = { description = "Upgrade Doom Emacs"; @@ -11,7 +10,7 @@ ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade" ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom sync" ''; - serviceConfig = { Type = "oneshot"; }; + serviceConfig.Type = "oneshot"; }; systemd.user.timers.doom-upgrade = { @@ -31,7 +30,7 @@ script = '' ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge" ''; - serviceConfig = { Type = "oneshot"; }; + serviceConfig.Type = "oneshot"; }; systemd.user.timers.doom-purge = { @@ -49,7 +48,7 @@ wantedBy = [ "default.target" ]; path = [ pkgs.git pkgs.neovim ]; script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa"; - serviceConfig = { Type = "oneshot"; }; + serviceConfig.Type = "oneshot"; }; systemd.user.timers.vim-plug-upgrade = { diff --git a/modules/printing.nix b/modules/printing.nix index cc76bf8..43a70bf 100644 --- a/modules/printing.nix +++ b/modules/printing.nix @@ -12,11 +12,9 @@ enable = true; brscan4 = { enable = true; - netDevices = { - home = { - model = "DCP-L2530DW"; - ip = "192.168.13.4"; - }; + netDevices.home = { + model = "DCP-L2530DW"; + ip = "192.168.13.4"; }; }; };