Minor worf updates

This commit is contained in:
Felix Albrigtsen 2023-08-18 19:06:07 +02:00
parent e437681485
commit 680f210940
4 changed files with 11 additions and 7 deletions

View File

@ -19,12 +19,12 @@
outputs = { outputs = {
self self
, nixpkgs
, unstable
, nix-darwin
, home-manager , home-manager
, matrix-synapse-next , matrix-synapse-next
, nix-darwin
, nixpkgs
, sops-nix , sops-nix
, unstable
, ... }@inputs: , ... }@inputs:
let let
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
@ -81,7 +81,6 @@
home-manager.darwinModules.home-manager { home-manager.darwinModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
# home-manager.extraSpecialArgs = { inherit user; };
home-manager.users."felixalb" = import ./hosts/worf/home.nix; home-manager.users."felixalb" = import ./hosts/worf/home.nix;
} }
# sops-nix.nixosModules.sops # sops-nix.nixosModules.sops

View File

@ -4,16 +4,18 @@
, config , config
, ... , ...
}: { }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./zsh.nix ./zsh.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
bat
bottom bottom
cocoapods cocoapods
emacs
exa exa
gnutar
iterm2 iterm2
ncdu ncdu
neofetch neofetch
@ -28,7 +30,8 @@
enable = true; enable = true;
extraConfig = { extraConfig = {
pull.rebase = "true"; pull.rebase = true;
push.autoSetupRemote = true;
color.ui = "auto"; color.ui = "auto";
init.defaultBranch = "main"; init.defaultBranch = "main";
lfs.enable = true; lfs.enable = true;

View File

@ -22,10 +22,11 @@
nvim-treesitter nvim-treesitter
coc-css coc-css
coc-go
coc-html
coc-json coc-json
coc-nvim coc-nvim
coc-pyright coc-pyright
coc-go
vim-nix vim-nix
]; ];

View File

@ -37,6 +37,7 @@
initExtra = '' initExtra = ''
# Autocomplete ../ # Autocomplete ../
zstyle ':completion:*' special-dirs true zstyle ':completion:*' special-dirs true
export PATH="$HOME/.config/emacs/bin:$PATH"
''; '';
shellAliases = { shellAliases = {