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