Moved package collections into their own directory and created a dev.nix collection.

This commit is contained in:
Thai Noodles 2024-01-20 10:53:04 -08:00
parent c1d0c467a9
commit 450f9e382d
7 changed files with 18 additions and 3 deletions

View File

@ -6,8 +6,9 @@
specialArgs = { inherit user inputs; };
modules = [
../nixos/wayland.nix
../nixos/gaming.nix
../nixos/office.nix
../nixos/collections/dev.nix
../nixos/collections/gaming.nix
../nixos/collections/office.nix
./buckwheat/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;

View File

@ -7,7 +7,6 @@
environment = {
localBinInPath = true;
variables = {
GOPROXY = "direct";
#MAILRC="$XDG_CONFIG_HOME/mail/mailrc"
#allowing environmental variable is needed for a mosh connection
LC_CTYPE = "en_US.UTF-8";

15
nixos/collections/dev.nix Normal file
View File

@ -0,0 +1,15 @@
# Software Development Packages
{ config, lib, pkgs, user, ... }:
{
environment = {
variables = {
GOPROXY = "direct";
};
};
users.users.${user.name}.packages = with pkgs; [
cargo
go
just
rust
];
}