diff --git a/.config/linux/system/module/common/Dotfile.nix b/.config/linux/system/module/common/Dotfile.nix index 15660fc..4614913 100644 --- a/.config/linux/system/module/common/Dotfile.nix +++ b/.config/linux/system/module/common/Dotfile.nix @@ -1,6 +1,6 @@ -{ pkgs, self, ... }: +{ pkgs, ... }: let - mkDotfilesUnit = { + unit = { description = "Install/update dotfiles on startup."; wantedBy = [ "graphical-session-pre.target" ]; serviceConfig.Type = "oneshot"; @@ -11,6 +11,6 @@ let ''; }; in { - systemd.user.services.dotfiles = mkDotfilesUnit; - systemd.services.dotfiles = mkDotfilesUnit; + systemd.user.services.dotfiles = unit; + systemd.services.dotfiles = unit; }