mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 03:31:34 +01:00
Remove all references to the osConfig in HM modules
This commit is contained in:
parent
c85e7fb85d
commit
968b5bfa86
2 changed files with 2 additions and 27 deletions
|
|
@ -2,7 +2,6 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfg = config.myConfig.de;
|
||||
|
|
@ -57,15 +56,6 @@ in {
|
|||
})
|
||||
|
||||
(lib.mkIf cfg.tray.syncthing.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = osConfig.services.syncthing.enable;
|
||||
message = "Syncthing has to be enabled on the system level.";
|
||||
}
|
||||
];
|
||||
|
||||
xsession.enable = osConfig.services.xserver.enable;
|
||||
|
||||
home.packages = [pkgs.syncthingtray-minimal];
|
||||
|
||||
systemd.user.services = {
|
||||
|
|
@ -87,15 +77,6 @@ in {
|
|||
})
|
||||
|
||||
(lib.mkIf cfg.tray.networkmanager.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = osConfig.networking.networkmanager.enable;
|
||||
message = "Networkmanager has to be enabled on the system level.";
|
||||
}
|
||||
];
|
||||
|
||||
xsession.enable = osConfig.services.xserver.enable;
|
||||
|
||||
home.packages = [pkgs.networkmanagerapplet];
|
||||
|
||||
systemd.user.services = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue