nix-config

My personal nixos and home-manager configuration
Log | Files | Refs | README

default.nix (271B)


      1 { config, pkgs, lib, ... }:
      2 
      3 with lib;
      4 
      5 {
      6   options.emacs = {
      7     enable = mkEnableOption "Emacs";
      8   };
      9 
     10   config = mkIf config.emacs.enable {
     11     programs.emacs = {
     12       enable = true;
     13       package = pkgs.emacsPgtkGcc;
     14     };
     15 
     16     services.emacs.enable = true;
     17   };
     18 }