refactor(packages): use current channel all the time

since I'm on unstable, adding a `latest` alias and allow to choose
doesn't make sense
This commit is contained in:
Pierre Martin
2022-09-03 07:01:38 +02:00
parent de77bf048c
commit 25b900dc3a

204
home.nix
View File

@@ -1,8 +1,5 @@
{ pkgs, ... }: { pkgs, ... }:
let
latest = import <nixpkgs>{};
in
{ {
home.stateVersion = "22.05"; home.stateVersion = "22.05";
@@ -10,121 +7,120 @@ in
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml; home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
home.packages = with pkgs; [ home.packages = with pkgs; [
latest.wget wget
latest.curl curl
latest.httpie httpie
latest.bind bind
latest.gcc gcc
latest.openssl.dev openssl.dev
latest.patchelf patchelf
latest.postman postman
latest.k6 k6
latest.hey hey
latest.ngrok ngrok
latest.openssl openssl
latest.pulseaudioFull pulseaudioFull
latest.pavucontrol pavucontrol
latest.bluezFull bluezFull
latest.sakura sakura
latest.fasd fasd
latest.ripgrep ripgrep
latest.tree tree
latest.ncdu ncdu
latest.pv pv
latest.jq jq
latest.yq yq
latest.fx fx
latest.whois whois
latest.gnumake gnumake
latest.file file
latest.bc bc
latest.ts ts
latest.mcfly mcfly
latest.fzf fzf
latest.bat bat
latest.bat-extras.prettybat bat-extras.prettybat
latest.delta delta
latest.atool atool
latest.unzip unzip
latest.zip zip
latest.pass pass
latest.lastpass-cli lastpass-cli
latest.bitwarden-cli bitwarden-cli
latest._1password _1password
latest._1password-gui _1password-gui
latest.yubico-pam yubico-pam
latest.yubikey-manager yubikey-manager
latest.pam_u2f pam_u2f
latest.polkit_gnome # fun fact: https://gitlab.gnome.org/GNOME/gdm/-/issues/613 polkit_gnome # fun fact: https://gitlab.gnome.org/GNOME/gdm/-/issues/613
latest.arandr arandr
latest.feh feh
latest.pcmanfm pcmanfm
latest.udiskie udiskie
latest.tldr tldr
latest.gitAndTools.tig gitAndTools.tig
latest.sublime-merge meld
latest.meld glab
latest.glab
latest.firefox firefox
latest.google-chrome-beta google-chrome-beta
latest.epiphany epiphany
latest.thunderbird thunderbird
latest.slack slack
latest.signal-desktop signal-desktop
latest.zoom-us zoom-us
latest.libreoffice libreoffice
latest.freemind freemind
latest.filezilla filezilla
latest.vokoscreen vokoscreen
latest.ffmpeg ffmpeg
latest.flameshot flameshot
latest.gimp gimp
latest.copyq copyq
latest.wireshark wireshark
latest.gcalcli gcalcli
latest.spotify spotify
latest.vlc vlc
latest.audacity audacity
latest.obs-studio obs-studio
latest.shotcut shotcut
latest.jetbrains-mono jetbrains-mono
latest.vscode vscode
unclutter-xfixes unclutter-xfixes
latest.playerctl latest.numlockx playerctl numlockx
latest.nodejs-16_x nodejs-16_x
latest.cypress cypress
latest.docker docker
latest.docker-compose docker-compose
latest.kube3d kube3d
latest.kubectl kubectl
latest.kubernetes-helm kubernetes-helm
latest.stern stern
latest.php php
latest.php81Packages.composer php81Packages.composer
latest.python python
latest.mkcert mkcert
latest.goaccess goaccess
latest.checkbashisms checkbashisms
latest.shellcheck shellcheck
# Perso # Perso
latest.nextcloud-client nextcloud-client
latest.rclone rclone
# latest.calibre # calibre
latest.gparted gparted
]; ];
programs.vscode = { programs.vscode = {
@@ -138,7 +134,7 @@ in
programs.rofi = { programs.rofi = {
enable = true; enable = true;
plugins = [ latest.rofi-calc latest.rofi-emoji ]; plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
terminal = "sakura"; terminal = "sakura";
}; };
@@ -340,7 +336,7 @@ source <(kubectl completion zsh)
programs.git = { programs.git = {
enable = true; enable = true;
package = latest.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;
userEmail = "pierre@front-commerce.com"; userEmail = "pierre@front-commerce.com";
userName = "Pierre Martin"; userName = "Pierre Martin";