aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-08-18 11:42:40 +0200
committerAdrian Kummerlaender2021-08-18 11:43:38 +0200
commitc37719764c7899608a36576ae1ba2b3cc3680e94 (patch)
tree4323a37170907eb53da1646cda1a6f451c535547 /gui
parent4cd072bceab3a45d34c0f042eba8b5cb5f2c380f (diff)
downloadnixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.gz
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.bz2
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.lz
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.xz
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.zst
nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.zip
Flakeify home config
Use nix flakes instead of niv for pinning dependency channels. First step towards merging my "nixos-system" and "nixos-home" configs into a single trivially reproducible flake setup. Apply home config via: > nix build .#homeManagerConfigurations.common.activationPackage --impure > ./result/activate
Diffstat (limited to 'gui')
-rw-r--r--gui/emacs.nix9
-rw-r--r--gui/email.nix10
2 files changed, 8 insertions, 11 deletions
diff --git a/gui/emacs.nix b/gui/emacs.nix
index 6242cca..cec2bdf 100644
--- a/gui/emacs.nix
+++ b/gui/emacs.nix
@@ -1,11 +1,6 @@
-{ config, pkgs, sources, ... }:
+{ config, pkgs, pkgs-unstable, ... }:
-let
- pkgs-unstable = import sources.nixpkgs-unstable {
- overlays = [ (import sources.emacs-overlay) ];
- };
-
-in {
+{
programs.emacs = let
akr-color-theme = pkgs.stdenv.mkDerivation {
name = "emacs-color-theme-akr";
diff --git a/gui/email.nix b/gui/email.nix
index b1f3f0d..46d1731 100644
--- a/gui/email.nix
+++ b/gui/email.nix
@@ -1,15 +1,17 @@
{ pkgs, ... }:
{
- programs.mbsync.enable = true;
- programs.msmtp.enable = true;
+ programs = {
+ mbsync.enable = true;
+ msmtp.enable = true;
+ };
accounts.email = {
maildirBasePath = "mail";
-
+
accounts.automatix = {
primary = true;
-
+
realName = "Adrian Kummerländer";
address = "adrian@kummerlaender.eu";