migrate to nixos modules

This commit is contained in:
zuckerberg
2021-04-11 21:43:27 -04:00
parent 7b70b48de4
commit a9c6b46ff5
25 changed files with 544 additions and 459 deletions

View File

@@ -1,7 +1,11 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:
{
users.users.googlebot.packages = [
pkgs.discord
];
let
cfg = config.de;
in {
config = lib.mkIf cfg.enable {
users.users.googlebot.packages = [
pkgs.discord
];
};
}