about summary refs log tree commit diff
path: root/packages.nix
blob: 25bdb0160e73b4570a4d5e91cfcbdabb955949bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# 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
    google-cloud-sdk
    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/kontemplate.nix)
    (import pkgs/nixfd.nix)
  ];
}