nest home-manager programs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f4cbdb875b
commit
695e2d0348
1 changed files with 69 additions and 69 deletions
|
@ -14,85 +14,85 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
|
||||
userName = "Sijmen";
|
||||
userEmail = "me@sijman.nl";
|
||||
userName = "Sijmen";
|
||||
userEmail = "me@sijman.nl";
|
||||
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "0xDAF7821E067D9C48";
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "0xDAF7821E067D9C48";
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
fetch.prune = true;
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
push.autoSetupRemote = true;
|
||||
safe.directory = [ "/etc/nixos" ];
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
fetch.prune = true;
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
push.autoSetupRemote = true;
|
||||
safe.directory = [ "/etc/nixos" ];
|
||||
firefox = {
|
||||
enable = true;
|
||||
package = pkgs.wrapFirefox pkgs.firefox-unwrapped { forceWayland = true; };
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
forceWayland = true;
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
alot.enable = true;
|
||||
gpg.enable = true;
|
||||
home-manager.enable = true;
|
||||
mbsync.enable = true;
|
||||
password-store.enable = true;
|
||||
|
||||
extraConfig = ''
|
||||
luafile /etc/nixos/common/nvim.lua
|
||||
'';
|
||||
bash = {
|
||||
enable = true;
|
||||
initExtra = ''
|
||||
source ${pkgs.fetchurl { url = "https://raw.githubusercontent.com/rupa/z/v1.11/z.sh"; sha256 = "f24e0791ba10f6a8301461da3fc50333eee2e009a19e5d0e9f3661f0d0446767"; }}
|
||||
'';
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
programs.alot.enable = true;
|
||||
programs.gpg.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
programs.mbsync.enable = true;
|
||||
programs.password-store.enable = true;
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
initExtra = ''
|
||||
source ${pkgs.fetchurl { url = "https://raw.githubusercontent.com/rupa/z/v1.11/z.sh"; sha256 = "f24e0791ba10f6a8301461da3fc50333eee2e009a19e5d0e9f3661f0d0446767"; }}
|
||||
'';
|
||||
};
|
||||
|
||||
programs.notmuch = {
|
||||
enable = true;
|
||||
hooks = {
|
||||
preNew = "mbsync --all";
|
||||
notmuch = {
|
||||
enable = true;
|
||||
hooks = {
|
||||
preNew = "mbsync --all";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue