refactor: Move packages & wallpapers config into own nix files
My systems are single-user machines and the package configuration can go in the system-wide package list in full. This splits out the package list into a separate file and also moves the systemd units for wallpaper setting into a separate file.
This commit is contained in:
parent
aa5dcbc477
commit
202467e989
3 changed files with 101 additions and 54 deletions
62
packages.nix
Normal file
62
packages.nix
Normal file
|
|
@ -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)
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue