Update flake

This commit is contained in:
Filippo Berto 2023-02-25 21:40:05 +01:00
parent 30c7f8ff25
commit f18662bc58
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
4 changed files with 28 additions and 57 deletions

View file

@ -1,33 +1,4 @@
{ pkgs, ... }:
let
desktopItem = pkgs.makeDesktopItem {
name = "Helix";
exec = "hx %F";
icon = "helix";
desktopName = "Helix";
comment = "Helix text editor";
terminal = true;
categories = [ "Development" ];
mimeTypes = [
"text/english"
"text/plain"
"text/x-makefile"
"text/x-c++hdr"
"text/x-c++src"
"text/x-chdr"
"text/x-csrc"
"text/x-java"
"text/x-moc"
"text/x-pascal"
"text/x-tcl"
"text/x-tex"
"application/x-shellscript"
"text/x-c"
"text/x-c++"
];
};
in
{
{ pkgs, ... }: {
programs.bash.shellAliases = { x = "hx"; };
programs.zsh.shellAliases = { x = "hx"; };
home.sessionVariables = {
@ -36,7 +7,7 @@ in
};
home.packages = builtins.attrValues {
inherit (pkgs) nil; # Nix language server
inherit desktopItem;
# inherit desktopItem;
};
programs.helix = {
enable = true;

View file

@ -2,7 +2,7 @@
programs.password-store = {
package = pkgs.pass.withExtensions (ext:
with ext; [
pass-audit
# pass-audit
pass-checkup
pass-import
pass-otp