Dotfile : Cleanup a bit.

This commit is contained in:
Dmitry Voronin 2024-02-20 15:51:11 +03:00
parent c955373ca5
commit 0675a62b93

View file

@ -1,6 +1,6 @@
{ pkgs, self, ... }: { pkgs, ... }:
let let
mkDotfilesUnit = { unit = {
description = "Install/update dotfiles on startup."; description = "Install/update dotfiles on startup.";
wantedBy = [ "graphical-session-pre.target" ]; wantedBy = [ "graphical-session-pre.target" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
@ -11,6 +11,6 @@ let
''; '';
}; };
in { in {
systemd.user.services.dotfiles = mkDotfilesUnit; systemd.user.services.dotfiles = unit;
systemd.services.dotfiles = mkDotfilesUnit; systemd.services.dotfiles = unit;
} }