formatting with alejandra

This commit is contained in:
Ivan Dimitrov 2023-07-02 10:12:17 +03:00
parent 6a712fc785
commit 1f33608c90

View File

@ -1,8 +1,9 @@
{ config, pkgs, ... }:
{
imports =
[
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
<home-manager/nixos>
];
@ -56,6 +57,8 @@
zip
unzip
mlocate
rustup
alejandra
];
variables = {
EDITOR = "nvim";
@ -72,7 +75,6 @@
zsh.enable = true;
};
users = {
defaultUserShell = pkgs.zsh;
users.ivand = {
@ -87,15 +89,13 @@
home-manager.users.ivand = {
home = {
stateVersion = "23.05";
pointerCursor =
let
pointerCursor = let
getFrom = url: hash: name: {
gtk.enable = true;
x11.enable = true;
name = name;
size = 48;
package =
pkgs.runCommand "moveUp" {} ''
package = pkgs.runCommand "moveUp" {} ''
mkdir -p $out/share/icons
ln -s ${pkgs.fetchzip {
url = url;
@ -134,13 +134,19 @@
enable = true;
plugins = [
{name = "jeffreytse/zsh-vi-mode";}
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
{
name = "romkatv/powerlevel10k";
tags = [as:theme depth:1];
}
{name = "zsh-users/zsh-autosuggestions";}
{ name = "zsh-users/zsh-syntax-highlighting"; tags = [ defer:2 ]; }
{
name = "zsh-users/zsh-syntax-highlighting";
tags = [defer:2];
}
];
};
initExtra = ''
source ./.p10k.zsh
source "$HOME/.p10k.zsh"
'';
};
};
@ -159,6 +165,4 @@
vimPlugins.nvchad
];
};
}