mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
standardize systemd services more
This commit is contained in:
parent
82b2d4971e
commit
c4f378b102
3 changed files with 6 additions and 11 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
self',
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
pkgs,
|
||||
}:
|
||||
{
|
||||
options.local.bootConfig.disable = lib.mkEnableOption "";
|
||||
|
|
@ -56,15 +56,12 @@
|
|||
reloadIfChanged = false;
|
||||
restartIfChanged = false;
|
||||
stopIfChanged = false;
|
||||
wantedBy = [ "default.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe' pkgs.efibootmgr "efibootmgr"} -t 0";
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
path = [ pkgs.efibootmgr ];
|
||||
wantedBy = [ "default.target" ];
|
||||
script = ''
|
||||
efibootmgr -t 0
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue