Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
x86_64-linux) SYSTEM="x86_64-linux" ;;
esac
nix build "./nix#homeConfigurations.${SYSTEM}.activationPackage" --impure --print-build-logs --show-trace
env:
NIXPKGS_ALLOW_UNFREE: "1"

install-test:
name: install-test (${{ matrix.os }})
Expand All @@ -44,5 +46,6 @@ jobs:
run: $HOME/dotfiles/bin/install.sh
env:
NIX_CONFIG: "access-tokens = github.com=${{ github.token }}"
NIXPKGS_ALLOW_UNFREE: "1"
- name: validate
run: test -d $HOME/dotfiles
1 change: 1 addition & 0 deletions nix/home/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
usage
nerd-fonts.meslo-lg
ripgrep
terraform
tig
tmux
wget
Expand Down
2 changes: 1 addition & 1 deletion nix/home/nvim/config/autocmds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Auto commands for file types and events
{
programs.neovim.extraLuaConfig = ''
programs.neovim.initLua = ''
local augroup = vim.api.nvim_create_augroup
local autocmd = vim.api.nvim_create_autocmd

Expand Down
2 changes: 1 addition & 1 deletion nix/home/nvim/config/keymaps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Key mappings
{
programs.neovim.extraLuaConfig = ''
programs.neovim.initLua = ''
local keymap = vim.keymap.set

keymap("n", "<Esc>", "<cmd>nohlsearch<CR>", { desc = "Clear search highlight" })
Expand Down
2 changes: 1 addition & 1 deletion nix/home/nvim/config/lazy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# lazy.nvim plugin manager setup
# Plugins are defined in nvim/lua/plugins/
{
programs.neovim.extraLuaConfig = ''
programs.neovim.initLua = ''
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
Expand Down
2 changes: 1 addition & 1 deletion nix/home/nvim/config/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Editor options and settings
{
programs.neovim.extraLuaConfig = lib.mkBefore ''
programs.neovim.initLua = lib.mkBefore ''
vim.g.mapleader = " "
vim.g.maplocalleader = " "

Expand Down