import system-tools.nix
This commit is contained in:
parent
fccfaa7106
commit
175d8daf30
25
nixos/common/system-tools.nix
Normal file
25
nixos/common/system-tools.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
# Ensure home-manager is on all systems
|
||||
home-manager
|
||||
|
||||
# Useful system utilities
|
||||
tree # directory structure
|
||||
bc # basic calculator
|
||||
vim # editor
|
||||
ranger # console file manager
|
||||
htop # system monitor
|
||||
|
||||
# HTTP
|
||||
curl # transfer dato to/from server
|
||||
wget # download files from web
|
||||
|
||||
# Archive
|
||||
unrar # extract roshal archive
|
||||
unzip # extract zip archive
|
||||
];
|
||||
};
|
||||
}
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
|
||||
# Import common configurations
|
||||
../common/system-tools.nix
|
||||
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
@ -144,16 +147,6 @@
|
|||
|
||||
# Install packages, prefix with 'unstable.' to use overlay
|
||||
systemPackages = with pkgs; [
|
||||
# System tools
|
||||
curl git glxinfo home-manager htop ranger trash-cli tree unrar unzip vim wget zip
|
||||
|
||||
# Developer tools
|
||||
docker-compose ghc cabal-install go
|
||||
unstable.hugo
|
||||
|
||||
# QMK firmware
|
||||
qmk vial
|
||||
|
||||
# Code editors
|
||||
emacs vscode
|
||||
|
||||
|
@ -170,8 +163,7 @@
|
|||
openrgb protonup-ng
|
||||
|
||||
# Mouse
|
||||
libratbag
|
||||
piper
|
||||
libratbag piper
|
||||
];
|
||||
|
||||
# Completions for system packages
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
# You can also split up your configuration and import pieces of it here:
|
||||
./containers
|
||||
|
||||
# Import common configurations
|
||||
../common/system-tools.nix
|
||||
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
@ -114,11 +117,6 @@
|
|||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
# System tools
|
||||
vim wget git home-manager tree ranger
|
||||
];
|
||||
|
||||
# Completions for system packages
|
||||
pathsToLink = [ "/share/zsh" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue