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:
|
# 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
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
@ -144,16 +147,6 @@
|
||||||
|
|
||||||
# Install packages, prefix with 'unstable.' to use overlay
|
# Install packages, prefix with 'unstable.' to use overlay
|
||||||
systemPackages = with pkgs; [
|
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
|
# Code editors
|
||||||
emacs vscode
|
emacs vscode
|
||||||
|
|
||||||
|
@ -170,8 +163,7 @@
|
||||||
openrgb protonup-ng
|
openrgb protonup-ng
|
||||||
|
|
||||||
# Mouse
|
# Mouse
|
||||||
libratbag
|
libratbag piper
|
||||||
piper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Completions for system packages
|
# Completions for system packages
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
./containers
|
./containers
|
||||||
|
|
||||||
|
# Import common configurations
|
||||||
|
../common/system-tools.nix
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
@ -114,11 +117,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
|
||||||
# System tools
|
|
||||||
vim wget git home-manager tree ranger
|
|
||||||
];
|
|
||||||
|
|
||||||
# Completions for system packages
|
# Completions for system packages
|
||||||
pathsToLink = [ "/share/zsh" ];
|
pathsToLink = [ "/share/zsh" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue