nixfmt update formatter changes

This commit is contained in:
Kevin Baensch 2024-12-31 16:34:44 +01:00
parent fe9ec52785
commit ebd66cbfb4
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 21 additions and 14 deletions

View file

@ -76,7 +76,8 @@
inherit system;
inherit fn;
};
modules = [
modules =
[
(
{ config, ... }:
{
@ -85,7 +86,11 @@
)
(toString ./options/machine.nix)
sops-nix.nixosModules.sops
] ++ machineFiles ++ configFiles ++ pkgsFiles ++ serviceFiles;
]
++ machineFiles
++ configFiles
++ pkgsFiles
++ serviceFiles;
};
};
in

View file

@ -21,8 +21,7 @@ lib.mkIf (lib.elem "nvim::cmp" config.machine.pkgs) {
local cmp = require('cmp')
cmp.setup({
${
lib.optionalString (lib.elem "nvim::lsp" config.machine.pkgs) # lua
${lib.optionalString (lib.elem "nvim::lsp" config.machine.pkgs) # lua
''sources = { { name = 'nvim_lsp' }, },''
}
mapping = cmp.mapping.preset.insert({

View file

@ -42,7 +42,10 @@ in
regreet = {
enable = true;
# https://github.com/NixOS/nixpkgs/issues/226586
cageArgs = [ "-m" "last" ];
cageArgs = [
"-m"
"last"
];
settings = {
background = {
path = "/persist/data/wallpaper.jpg";