Only enable nm service on hikari (nixos)

It doesn't have access on ubuntu, I need to use ubuntus applet.
This commit is contained in:
Daniel Siepmann 2023-04-05 15:06:33 +02:00
parent 8f1b870103
commit 1954523032
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 6 additions and 4 deletions

View file

@ -77,7 +77,7 @@ in {
}; };
services = import ./home/services.nix { services = import ./home/services.nix {
inherit config; inherit config ownLib;
}; };
systemd.user = import ./home/systemd.nix { systemd.user = import ./home/systemd.nix {

View file

@ -1,4 +1,4 @@
{ config }: { config, ownLib }:
{ {
@ -9,8 +9,10 @@
gpg-agent = import ./services/gpg-agent.nix { gpg-agent = import ./services/gpg-agent.nix {
}; };
network-manager-applet.enable = true;
languagetool.enable = true; languagetool.enable = true;
mailhog.enable = true; mailhog.enable = true;
} } // (if ownLib.onHikari {} then {
network-manager-applet.enable = true;
} else {
})