Compare commits

...

2 commits

Author SHA1 Message Date
f0cdafad6a
feat: switch to niri 2024-12-19 11:48:30 +01:00
004be60807
feat: fix formatters 2024-12-19 11:07:12 +01:00
3 changed files with 10 additions and 5 deletions

View file

@ -198,14 +198,14 @@
# "https://hyprland.cachix.org"
"https://nix-community.cachix.org"
"https://pre-commit-hooks.cachix.org"
# "https://ghostty.cachix.org"
"https://ghostty.cachix.org"
"https://cache.lix.systems"
];
extra-trusted-public-keys = [
# "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc="
# "ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
];
};

View file

@ -31,7 +31,12 @@ in
chromium.enable = mkDefault true;
firefox.enable = mkDefault true;
gpg.enable = mkDefault true;
river.enable = mkDefault true;
ghostty.settings = {
font-family = "IntoneMono Nerd Font";
window-decoration = false;
font-feature = [ "ss01" "ss02" ];
};
niri.enable = mkDefault true;
nix-edit.enable = mkDefault true;
nvim.enable = mkDefault true;
python.versions."311".enable = mkDefault true;

View file

@ -14,10 +14,10 @@ in
go = [ "gofmt" ];
json = [ "jq" ];
lua = [ "stylua" ];
nix.__raw = ''{ "nixpkgs_fmt", "alejandra", stop_after_first=true }'';
nix = [ "nixpkgs_fmt" ];
python.__raw = ''
function(bufnr)
return { first("ruff_organize_imports", "isort"), first("ruff_format", "black")}
return { first(bufnr, "ruff_organize_imports", "isort"), first(bufnr, "ruff_format", "black")}
end
'';
rust = [ "rustfmt" ];