home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

default.nix (343B)


      1 { hostname, pkgs, ... }:
      2 let
      3   sync = (hostname == "aomi");
      4 in
      5 {
      6   imports = [ ../../modules ];
      7   profiles.mails = {
      8     enable = true;
      9     sync = sync;
     10   };
     11   home.file.".gmailctl/config.jsonnet".source = ./config.jsonnet;
     12   home.file.".gmailctl/gmailctl.libsonnet".source = ./gmailctl.libsonnet;
     13   home.packages = with pkgs; [ gmailctl ];
     14 }