Compare commits
No commits in common. "6f396e82d4a11915ba8ca66fa30f9053feaa9e56" and "e607d83f49b56a28cdbfdd81c8cea50c76863f66" have entirely different histories.
6f396e82d4
...
e607d83f49
4 changed files with 11 additions and 25 deletions
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
11
home/cli.nix
11
home/cli.nix
|
|
@ -3,17 +3,22 @@
|
||||||
# minimal config, suitable for servers
|
# minimal config, suitable for servers
|
||||||
let
|
let
|
||||||
user = {
|
user = {
|
||||||
name = config.home.username;
|
name = "alex";
|
||||||
fullName = "Alexander Kobjolke";
|
fullName = "Alexander Kobjolke";
|
||||||
mail = "me@failco.de";
|
mail = "me@failco.de";
|
||||||
};
|
};
|
||||||
|
|
||||||
myEza = if builtins.hasAttr "eza" pkgs then "eza" else "exa";
|
myEza = if builtins.hasAttr "eza" pkgs then "eza" else "exa";
|
||||||
in {
|
in {
|
||||||
imports = [ ./alex/programs/neovim/default.nix ];
|
imports = [
|
||||||
|
# shell config
|
||||||
|
#./modules/shell
|
||||||
|
];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
home = {
|
home = {
|
||||||
|
username = user.name;
|
||||||
|
homeDirectory = "/home/${config.home.username}";
|
||||||
stateVersion = "21.05";
|
stateVersion = "21.05";
|
||||||
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
||||||
shellAliases = { e = "emacsclient -c $@"; };
|
shellAliases = { e = "emacsclient -c $@"; };
|
||||||
|
|
@ -177,6 +182,8 @@ in {
|
||||||
|
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
|
||||||
|
neovim = import ./modules/nvim.nix pkgs;
|
||||||
|
|
||||||
texlive.enable = true;
|
texlive.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,6 @@ in {
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.alex = {
|
users.users.alex = {
|
||||||
description = "Alexander Kobjolke";
|
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
# Binary Cache for Haskell.nix
|
# Binary Cache for Haskell.nix
|
||||||
nix.settings.trusted-public-keys =
|
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" ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue