2021-08-14 13:36:11 -04:00
|
|
|
{ config, pkgs, lib, ... }:
|
2021-08-02 15:04:24 -04:00
|
|
|
|
|
|
|
let
|
2021-08-14 13:36:11 -04:00
|
|
|
inherit (lib) optionals;
|
|
|
|
hostName = import ./hostname.nix lib;
|
2021-08-02 15:04:24 -04:00
|
|
|
# Be able to use unstable packages
|
|
|
|
pkgsUnstable = import <nixpkgs-unstable> {};
|
|
|
|
|
|
|
|
in
|
|
|
|
{ # Required
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
home.username = "earne";
|
|
|
|
home.homeDirectory = "/home/earne";
|
|
|
|
|
2021-08-14 13:36:11 -04:00
|
|
|
imports =
|
|
|
|
(optionals (hostName == "tycho") [
|
|
|
|
./graphical.nix
|
|
|
|
]);
|
2021-08-02 19:51:58 -04:00
|
|
|
|
2021-08-14 13:36:11 -04:00
|
|
|
home.packages = with pkgs; [
|
2021-08-02 19:43:37 -04:00
|
|
|
# Doom Emacs + dependencies
|
|
|
|
pkgsUnstable.fd
|
|
|
|
pkgsUnstable.ripgrep
|
|
|
|
pkgsUnstable.emacs
|
|
|
|
|
2021-08-08 11:45:52 -04:00
|
|
|
aerc
|
|
|
|
isync
|
|
|
|
khard
|
|
|
|
|
2021-08-02 15:04:24 -04:00
|
|
|
gitFull
|
2021-08-08 20:22:41 -04:00
|
|
|
git-extras
|
2021-08-03 10:57:03 -04:00
|
|
|
ghq
|
2021-08-02 15:04:24 -04:00
|
|
|
pkgsUnstable.neovim
|
|
|
|
tmux
|
|
|
|
yadm
|
|
|
|
];
|
|
|
|
|
|
|
|
# This value determines the Home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new Home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value. See
|
|
|
|
# the Home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
home.stateVersion = "21.05";
|
|
|
|
}
|