Dotfile : Cleanup a bit.
This commit is contained in:
parent
c955373ca5
commit
0675a62b93
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue