Compare commits
4 commits
e607d83f49
...
6f396e82d4
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f396e82d4 | |||
| d769f177b2 | |||
| eccc0f0afd | |||
| dbe14a7d9a |
4 changed files with 25 additions and 11 deletions
20
home/alex/programs/neovim/default.nix
Normal file
20
home/alex/programs/neovim/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraConfig = ''
|
||||
set nowrap
|
||||
'';
|
||||
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-nix
|
||||
|
||||
indentLine
|
||||
indent-blankline-nvim
|
||||
neoformat
|
||||
];
|
||||
};
|
||||
}
|
||||
11
home/cli.nix
11
home/cli.nix
|
|
@ -3,22 +3,17 @@
|
|||
# minimal config, suitable for servers
|
||||
let
|
||||
user = {
|
||||
name = "alex";
|
||||
name = config.home.username;
|
||||
fullName = "Alexander Kobjolke";
|
||||
mail = "me@failco.de";
|
||||
};
|
||||
|
||||
myEza = if builtins.hasAttr "eza" pkgs then "eza" else "exa";
|
||||
in {
|
||||
imports = [
|
||||
# shell config
|
||||
#./modules/shell
|
||||
];
|
||||
imports = [ ./alex/programs/neovim/default.nix ];
|
||||
|
||||
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 $@"; };
|
||||
|
|
@ -182,8 +177,6 @@ in {
|
|||
|
||||
ssh.enable = true;
|
||||
|
||||
neovim = import ./modules/nvim.nix pkgs;
|
||||
|
||||
texlive.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ 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;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
# Binary Cache for Haskell.nix
|
||||
nix.settings.trusted-public-keys =
|
||||
[ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
|
||||
[ "cache.iog.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
|
||||
|
||||
nix.settings.substituters = lib.mkAfter [ "https://hydra.iohk.io" ];
|
||||
nix.settings.substituters = lib.mkAfter [ "https://cache.iog.io" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue