No Ansible by default

This commit is contained in:
Geoffrey Frogeye 2024-01-18 23:09:18 +01:00
parent fdf6725dc9
commit eac22be095
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 5 additions and 3 deletions

View file

@ -97,7 +97,8 @@
vim-pandoc # Pandoc-specific stuff because there's no LSP for it
vim-pandoc-syntax
] ++ lib.optionals config.frogeye.dev.ansible [
ansible-vim # TODO Doesn't have snippets
ansible-vim
# Doesn't generate snippets, but those are for UltiSnip anyways
];
extraConfigLua = builtins.readFile ./symbols-outline-nvim.lua;
extraConfigVim = ''

View file

@ -47,7 +47,6 @@
config = {
frogeye = {
dev = {
ansible = lib.mkDefault true;
python = lib.mkDefault true;
};
};

View file

@ -19,7 +19,9 @@
home-manager = {
users.geoffrey = { pkgs, ... }: {
frogeye = config.frogeye;
frogeye = lib.mkDefault config.frogeye;
# Propagating options that way doesn't seem to conserve priority info,
# this is not great. Hopefully mkDefault resolve conflicts.
};
# Makes VMs able to re-run
useUserPackages = true;