2022-07-25 14:59:32 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-08-01 21:11:10 +00:00
|
|
|
imports = [
|
|
|
|
<home-manager/nixos>
|
|
|
|
];
|
|
|
|
|
2022-07-25 14:59:32 +00:00
|
|
|
home-manager.users.sijmen = {
|
2022-08-08 12:43:21 +00:00
|
|
|
imports = [
|
|
|
|
./home-manager/home.nix
|
|
|
|
./home-manager/gtk.nix
|
|
|
|
];
|
2022-08-08 12:13:58 +00:00
|
|
|
|
2022-08-08 12:43:21 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
2022-08-08 00:11:34 +00:00
|
|
|
|
2022-08-08 14:08:50 +00:00
|
|
|
programs = {
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
lfs.enable = true;
|
2022-08-12 00:13:22 +00:00
|
|
|
package = pkgs.gitAndTools.gitFull;
|
2022-08-08 14:08:50 +00:00
|
|
|
|
|
|
|
userName = "Sijmen";
|
|
|
|
userEmail = "me@sijman.nl";
|
|
|
|
|
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "0xDAF7821E067D9C48";
|
|
|
|
};
|
|
|
|
|
|
|
|
extraConfig = {
|
|
|
|
fetch.prune = true;
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
pull.rebase = true;
|
|
|
|
push.autoSetupRemote = true;
|
|
|
|
safe.directory = [ "/etc/nixos" ];
|
|
|
|
};
|
2022-08-08 12:25:57 +00:00
|
|
|
};
|
|
|
|
|
2022-08-08 14:08:50 +00:00
|
|
|
firefox = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.wrapFirefox pkgs.firefox-unwrapped { forceWayland = true; };
|
2022-07-25 14:59:32 +00:00
|
|
|
};
|
|
|
|
|
2022-08-08 14:08:50 +00:00
|
|
|
neovim = {
|
|
|
|
enable = true;
|
|
|
|
vimAlias = true;
|
|
|
|
|
|
|
|
extraConfig = ''
|
|
|
|
luafile /etc/nixos/common/nvim.lua
|
|
|
|
'';
|
|
|
|
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
gcc
|
|
|
|
rnix-lsp
|
|
|
|
nodePackages.pyright
|
|
|
|
];
|
|
|
|
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
bufferline-nvim
|
|
|
|
galaxyline-nvim
|
|
|
|
indentLine
|
|
|
|
lualine-nvim
|
|
|
|
neorg
|
|
|
|
nvim-colorizer-lua
|
|
|
|
nvim-compe
|
|
|
|
nvim-lspconfig
|
|
|
|
nvim-tree-lua
|
|
|
|
nvim-treesitter
|
|
|
|
nvim-web-devicons
|
|
|
|
onehalf
|
|
|
|
pears-nvim
|
|
|
|
plenary-nvim
|
|
|
|
vim-closetag
|
|
|
|
vim-nix
|
|
|
|
];
|
2022-07-25 14:59:32 +00:00
|
|
|
};
|
|
|
|
|
2022-08-08 14:08:50 +00:00
|
|
|
alot.enable = true;
|
|
|
|
gpg.enable = true;
|
|
|
|
home-manager.enable = true;
|
|
|
|
mbsync.enable = true;
|
|
|
|
password-store.enable = true;
|
2022-08-12 00:14:03 +00:00
|
|
|
msmtp.enable = true;
|
2022-07-25 14:59:32 +00:00
|
|
|
|
2022-08-08 14:08:50 +00:00
|
|
|
bash = {
|
|
|
|
enable = true;
|
|
|
|
initExtra = ''
|
|
|
|
source ${pkgs.fetchurl { url = "https://raw.githubusercontent.com/rupa/z/v1.11/z.sh"; sha256 = "f24e0791ba10f6a8301461da3fc50333eee2e009a19e5d0e9f3661f0d0446767"; }}
|
|
|
|
'';
|
|
|
|
};
|
2022-07-30 13:59:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
accounts.email.accounts.Personal = {
|
|
|
|
primary = true;
|
|
|
|
|
|
|
|
address = "me@sijmenschoon.nl";
|
|
|
|
aliases = [ "me@sijman.nl" "me@vijf.life" "info@sijmenschoon.nl" ];
|
|
|
|
realName = "Sijmen Schoon";
|
|
|
|
|
|
|
|
userName = "me@sijmenschoon.nl";
|
|
|
|
passwordCommand = "pass show email/personal";
|
|
|
|
|
|
|
|
imap.host = "imap.soverin.net";
|
|
|
|
smtp.host = "smtp.soverin.net";
|
|
|
|
|
|
|
|
folders.inbox = "INBOX";
|
|
|
|
|
|
|
|
mbsync = {
|
|
|
|
enable = true;
|
|
|
|
create = "maildir";
|
|
|
|
};
|
|
|
|
|
2022-08-12 00:14:03 +00:00
|
|
|
msmtp.enable = true;
|
2022-07-30 13:59:10 +00:00
|
|
|
};
|
2022-07-25 14:59:32 +00:00
|
|
|
};
|
|
|
|
}
|