diff options
Diffstat (limited to 'packages.nix')
-rw-r--r-- | packages.nix | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/packages.nix b/packages.nix new file mode 100644 index 000000000000..83fe2bc11944 --- /dev/null +++ b/packages.nix @@ -0,0 +1,62 @@ +# This file contains configuration for packages to install. +# It does not contain configuration for software that is already covered +# by other NixOS options (e.g. emacs) + +{ config, pkgs, ... }: + +let unstable = import <nixos-unstable> { config.allowUnfree = true; }; + rust-overlay = import nixpkgs-mozilla/rust-overlay.nix; +in { + # Configure the Nix package manager + nixpkgs.config.allowUnfree = true; + nixpkgs.overlays = [ rust-overlay ]; + + # ... and declare packages to be installed. + environment.systemPackages = with pkgs; [ + # Default nixos.* packages: + alacritty + curl + direnv + exa + fd + fish + gcc + git + gnumake + gnupg + htop + i3lock + jetbrains.idea-community + kubernetes + lxappearance-gtk3 + manpages + numix-gtk-theme + numix-icon-theme + openjdk + pass + pavucontrol + ripgrep + rofi + rofi-pass + spotify + stdmanpages + tdesktop + tig + tmux + tree + unzip + xclip + xfce.xfce4-screenshooter + + # nixos-unstable.* packages: + unstable.firefox-beta-bin + unstable.numix-cursor-theme + + # Overlay packages: + latest.rustChannels.stable.rust + + # Custom packages: + (import pkgs/nixfd.nix) + ]; +} + |