Spring cleanup

This commit is contained in:
Filippo Berto 2025-02-18 09:45:06 +01:00
parent 880f2e5c41
commit 34ef088709
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
8 changed files with 46 additions and 52 deletions

View file

@ -13,9 +13,15 @@
}; };
packages = builtins.attrValues { packages = builtins.attrValues {
inherit (pkgs) inherit (pkgs)
# brave
# discord
# droidcam
# element-desktop # matrix client # element-desktop # matrix client
# evolution # evolution
# freecad # freecad
# gnome-font-viewer
# gucharmap
# keyboard-switch
# krita # krita
# minecraft # minecraft
# mycrypto # mycrypto
@ -23,37 +29,26 @@
# retroarchFull # retroarchFull
# shotwell # shotwell
# signal-desktop # signal-desktop
# skypeforlinux
# slack # slack
# transmission_4
# wineFull # wineFull
# wireguard-tools
authenticator authenticator
bluetui bluetui
# brave
chromium chromium
# discord
# droidcam
eog eog
evince evince
file-roller file-roller
gallery-dl
# gnome-font-viewer
gnome-screenshot
gnome-system-monitor
# gucharmap
heroic heroic
inkscape
# keyboard-switch
openvpn openvpn
p7zip p7zip
pavucontrol pavucontrol
procps procps
protonvpn-gui protonvpn-gui
# skypeforlinux
spotify spotify
tdesktop tdesktop
teams-for-linux teams-for-linux
thunderbird
# transmission_4
# wireguard-tools
xournalpp xournalpp
; ;
}; };
@ -66,12 +61,6 @@
xsession = { xsession = {
enable = true; enable = true;
numlock.enable = true; numlock.enable = true;
# initExtra = ''
# ## Touchpad
# ${pkgs.xorg.xinput}/bin/xinput set-prop 'DELL0824:00 06CB:7E92 Touchpad' 'libinput Natural Scrolling Enabled' 1
# ${pkgs.xorg.xinput}/bin/xinput set-prop 'DELL0824:00 06CB:7E92 Touchpad' 'libinput Tapping Enabled' 1
# ${pkgs.xorg.xinput}/bin/xinput set-prop 'DELL0824:00 06CB:7E92 Touchpad' 'libinput Disable While Typing Enabled' 1
# '';
}; };
imports = [ imports = [
@ -81,8 +70,8 @@
../../modules/hm/development/cpp.nix ../../modules/hm/development/cpp.nix
../../modules/hm/development/data.nix ../../modules/hm/development/data.nix
../../modules/hm/development/docker.nix ../../modules/hm/development/docker.nix
../../modules/hm/development/go.nix # ../../modules/hm/development/go.nix
../../modules/hm/development/javascript.nix # ../../modules/hm/development/javascript.nix
../../modules/hm/development/kubernetes.nix ../../modules/hm/development/kubernetes.nix
../../modules/hm/development/latex.nix ../../modules/hm/development/latex.nix
../../modules/hm/development/markdown.nix ../../modules/hm/development/markdown.nix
@ -93,6 +82,7 @@
# ../../modules/hm/alacritty.nix # ../../modules/hm/alacritty.nix
# ../../modules/hm/autorandr.nix # ../../modules/hm/autorandr.nix
# ../../modules/hm/biblio.nix
# ../../modules/hm/bitwarden.nix # ../../modules/hm/bitwarden.nix
# ../../modules/hm/blender.nix # ../../modules/hm/blender.nix
# ../../modules/hm/carapace.nix # ../../modules/hm/carapace.nix
@ -118,7 +108,7 @@
# ../../modules/hm/twmn.nix # ../../modules/hm/twmn.nix
# ../../modules/hm/update_background.nix # ../../modules/hm/update_background.nix
# ../../modules/hm/vivaldi.nix # ../../modules/hm/vivaldi.nix
../../modules/hm/biblio.nix
../../modules/hm/cava.nix ../../modules/hm/cava.nix
../../modules/hm/easyeffects.nix ../../modules/hm/easyeffects.nix
../../modules/hm/firefox.nix ../../modules/hm/firefox.nix

View file

@ -8,7 +8,10 @@
# (builtins.attrValues { inherit (pkgs) docker-compose; }) # (builtins.attrValues { inherit (pkgs) docker-compose; })
# ++ # ++
lib.optionals config.programs.helix.enable ( lib.optionals config.programs.helix.enable (
builtins.attrValues { inherit (pkgs.nodePackages) dockerfile-language-server-nodejs; } builtins.attrValues {
inherit (pkgs.nodePackages) dockerfile-language-server-nodejs;
inherit (pkgs) docker-compose-language-service;
}
); );
# home.shellAliases = { # home.shellAliases = {
# "dkcd" = "docker-compose down"; # "dkcd" = "docker-compose down";

View file

@ -1,24 +1,27 @@
{ pkgs, ... }: { pkgs, ... }:
let
helm = pkgs.wrapHelm pkgs.kubernetes-helm {
plugins = builtins.attrValues {
inherit (pkgs.kubernetes-helmPlugins)
helm-diff
# helm-secrets
;
};
};
in
{ {
home = { home = {
shellAliases = { shellAliases = {
"k" = "kubectl"; "k" = "kubectl";
}; };
packages = [ packages = [
(pkgs.wrapHelm pkgs.kubernetes-helm { # pkgs.kustomize
plugins = builtins.attrValues { # pkgs.lens
inherit (pkgs.kubernetes-helmPlugins) helm
helm-diff pkgs.awscli2
# helm-secrets pkgs.k9s
;
};
})
pkgs.kubectl pkgs.kubectl
pkgs.kubelogin-oidc pkgs.kubelogin-oidc
# pkgs.kustomize
pkgs.k9s
pkgs.awscli2
pkgs.lens
pkgs.kubevirt pkgs.kubevirt
]; ];
}; };

View file

@ -23,7 +23,7 @@
); );
home.file.".latexmkrc".text = '' home.file.".latexmkrc".text = ''
$pdf_previewer = 'zathura %O %S'; $pdf_previewer = '${pkgs.zathura}/bin/zathura %O %S';
$pdf_update_method = 2 $pdf_update_method = 2
''; '';
} }

View file

@ -4,9 +4,6 @@
, ... , ...
}: }:
{ {
home.packages = [ home.packages =
pkgs.pandoc lib.optionals config.programs.helix.enable [ pkgs.marksman ];
# pkgs.pandoc-drawio-filter
# pkgs.pandoc-imagine
] ++ lib.optionals config.programs.helix.enable [ pkgs.marksman ];
} }

View file

@ -7,11 +7,11 @@
home.packages = home.packages =
(builtins.attrValues { (builtins.attrValues {
inherit (pkgs) inherit (pkgs)
nixpkgs-fmt # nixpkgs-review
nixfmt-classic
nix-prefetch-scripts nix-prefetch-scripts
nixpkgs-review
nix-tree nix-tree
nixfmt-classic
nixpkgs-fmt
; ;
}) })
++ lib.optionals config.programs.helix.enable [ pkgs.nil ] ++ lib.optionals config.programs.helix.enable [ pkgs.nil ]

View file

@ -1,4 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = [ pkgs.httpie ]; home.packages = [
pkgs.bruno
pkgs.httpie
];
} }

View file

@ -15,12 +15,10 @@
}; };
programs.helix = { programs.helix = {
enable = true; enable = true;
languages.language = [ languages.language = [{
{ name = "nix";
name = "nix"; auto-format = true;
auto-format = true; }];
}
];
languages.language-server = { languages.language-server = {
nil.config.nil = { nil.config.nil = {
formatting.command = [ "nixpkgs-fmt" ]; formatting.command = [ "nixpkgs-fmt" ];