litten: Add jmespath to ansible build inputs, and minor syntax changes for NixOS 24.11
This commit is contained in:
parent
632f85b58d
commit
0e0a18c078
@ -22,6 +22,13 @@ in
|
|||||||
"zoom"
|
"zoom"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
ansible = super.ansible.overrideAttrs (oldAttrs: {
|
||||||
|
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ super.python312Packages.jmespath ];
|
||||||
|
}); # Add jmespath to ansible build inputs
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader = {
|
loader = {
|
||||||
@ -34,7 +41,7 @@ in
|
|||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
keyboard.qmk.enable = true;
|
keyboard.qmk.enable = true;
|
||||||
|
|
||||||
opengl = { # https://wiki.nixos.org/wiki/Accelerated_Video_Playback
|
graphics = { # https://wiki.nixos.org/wiki/Accelerated_Video_Playback
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
@ -89,7 +96,7 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
# "docker"
|
"docker"
|
||||||
"glance"
|
"glance"
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
@ -132,10 +139,10 @@ in
|
|||||||
packer
|
packer
|
||||||
terraform
|
terraform
|
||||||
ansible
|
ansible
|
||||||
python311 # Not working in 3.12 yet: openwebui
|
python311
|
||||||
python311Packages.pip
|
python311Packages.pip
|
||||||
python311Packages.ipython
|
python311Packages.ipython
|
||||||
python311Packages.jmespath # for Ansible playbooks with json_query (grafana, caddy)
|
# python311Packages.jmespath # for Ansible playbooks with json_query (grafana, caddy)
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
hunspell
|
hunspell
|
||||||
hunspellDicts.uk_UA
|
hunspellDicts.uk_UA
|
||||||
@ -245,7 +252,10 @@ in
|
|||||||
# };
|
# };
|
||||||
|
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
vim.defaultEditor = true;
|
vim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
};
|
||||||
bash = {
|
bash = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -lAF --classify --group-directories-first";
|
ll = "ls -lAF --classify --group-directories-first";
|
||||||
@ -461,17 +471,17 @@ in
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# rootless = {
|
rootless = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# setSocketVariable = true;
|
setSocketVariable = true;
|
||||||
# };
|
};
|
||||||
# autoPrune = {
|
autoPrune = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# dates = "monthly";
|
dates = "monthly";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user