Compare commits

..

2 commits

5 changed files with 10 additions and 8 deletions

View file

@ -57,9 +57,9 @@
pre-commit-check = pre-commit-hooks.lib.${system}.run { pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.; src = ./.;
tools.fourmolu = pkgs.haskellPackages.fourmolu; tools.fourmolu = pkgs.haskellPackages.fourmolu;
tools.nixfmt = pkgs.nixfmt-rfc-style; tools.nixfmt = pkgs.nixfmt;
hooks = { hooks = {
nixfmt-rfc-style.enable = true; nixfmt.enable = true;
fourmolu.enable = true; fourmolu.enable = true;
hpack.enable = true; hpack.enable = true;
hlint.enable = true; hlint.enable = true;
@ -143,7 +143,7 @@
inherit (self.checks.${system}.pre-commit-check) shellHook; inherit (self.checks.${system}.pre-commit-check) shellHook;
packages = with pkgs; [ packages = with pkgs; [
nixfmt-rfc-style nixfmt
nil nil
]; ];
}; };

View file

@ -44,7 +44,7 @@ in
# nix tools # nix tools
nix-index nix-index
nixfmt-rfc-style nixfmt
# misc # misc
fd # better find fd # better find
file # info about files file # info about files

View file

@ -111,7 +111,7 @@
enableSshSupport = true; enableSshSupport = true;
sshKeys = [ "9027AB16B9A7C20BD29F30F55CBA054430BF014C" ]; sshKeys = [ "9027AB16B9A7C20BD29F30F55CBA054430BF014C" ];
extraConfig = '' extraConfig = ''
pinentry-program ${pkgs.pinentry.qt}/bin/pinentry pinentry-program ${pkgs.pinentry-qt}/bin/pinentry
''; '';
}; };

View file

@ -17,6 +17,7 @@
enableCompletion = true; enableCompletion = true;
autosuggestion.enable = true; autosuggestion.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
dotDir = "${config.xdg.configHome}/zsh";
initContent = '' initContent = ''
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ ' [ $TERM = "dumb" ] && unsetopt zle && PS1='$ '

View file

@ -48,9 +48,10 @@ in
i18n = { i18n = {
extraLocaleSettings = { extraLocaleSettings = {
TIME_STYLE = "iso"; LC_TIME = "sv_SE.UTF-8"; # iso foramt
}; };
extraLocales = "all"; extraLocales = "all";
defaultLocale = "en_US.UTF-8";
}; };
console = { console = {
@ -65,7 +66,7 @@ in
[ [
corefonts corefonts
noto-fonts noto-fonts
noto-fonts-emoji noto-fonts-color-emoji
fira-code fira-code
fira-code-symbols fira-code-symbols
] ]
@ -93,7 +94,7 @@ in
ripgrep ripgrep
git git
nvidia-offload nvidia-offload
pinentry pinentry-qt
]; ];
# adjust channels to nixpkgs used on this system via this flake # adjust channels to nixpkgs used on this system via this flake