Compare commits

..

No commits in common. "6f396e82d4a11915ba8ca66fa30f9053feaa9e56" and "e607d83f49b56a28cdbfdd81c8cea50c76863f66" have entirely different histories.

4 changed files with 11 additions and 25 deletions

View file

@ -1,20 +0,0 @@
{ config, lib, pkgs, ... }:
{
programs.neovim = {
enable = true;
vimAlias = true;
extraConfig = ''
set nowrap
'';
plugins = with pkgs.vimPlugins; [
vim-nix
indentLine
indent-blankline-nvim
neoformat
];
};
}

View file

@ -3,17 +3,22 @@
# minimal config, suitable for servers
let
user = {
name = config.home.username;
name = "alex";
fullName = "Alexander Kobjolke";
mail = "me@failco.de";
};
myEza = if builtins.hasAttr "eza" pkgs then "eza" else "exa";
in {
imports = [ ./alex/programs/neovim/default.nix ];
imports = [
# shell config
#./modules/shell
];
programs.home-manager.enable = true;
home = {
username = user.name;
homeDirectory = "/home/${config.home.username}";
stateVersion = "21.05";
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
shellAliases = { e = "emacsclient -c $@"; };
@ -177,6 +182,8 @@ in {
ssh.enable = true;
neovim = import ./modules/nvim.nix pkgs;
texlive.enable = true;
};

View file

@ -131,7 +131,6 @@ in {
# Define a user account. Don't forget to set a password with passwd.
users.users.alex = {
description = "Alexander Kobjolke";
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
shell = pkgs.zsh;

View file

@ -3,7 +3,7 @@
{
# Binary Cache for Haskell.nix
nix.settings.trusted-public-keys =
[ "cache.iog.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
[ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
nix.settings.substituters = lib.mkAfter [ "https://cache.iog.io" ];
nix.settings.substituters = lib.mkAfter [ "https://hydra.iohk.io" ];
}