Move Marauder dev configs into a separate module

This commit is contained in:
2024-09-23 16:15:42 -07:00
parent e22915119e
commit d3f46bf7c5
2 changed files with 22 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ in
self.nixosModules.common
self.nixosModules.prompt
./backup.nix
./dev.nix
];
networking.hostName = "marauder";
@@ -63,10 +64,6 @@ in
};
environment = {
variables = {
EDITOR = "nano";
VISUAL = "code --wait";
};
systemPackages = [
ffcheck
inputs.shelvacu.packages.x86_64-linux.sm64coopdx
@@ -81,15 +78,6 @@ in
firefox
filezilla
# Coding
vscode
kotlin
rustup
pyenv
gcc
nixd
nixpkgs-fmt
# Art and 3D
inkscape
gimp
@@ -112,10 +100,6 @@ in
dedicatedServer.openFirewall = true;
};
programs.direnv = {
enable = true;
};
services.xserver = {
enable = true;
videoDrivers = [ "nvidia" ];

21
hosts/marauder/dev.nix Normal file
View File

@@ -0,0 +1,21 @@
{ pkgs, ... }:
{
environment.variables = {
EDITOR = "nano";
VISUAL = "code --wait";
};
environment.systemPackages = with pkgs; [
vscode
kotlin
rustup
pyenv
gcc
nixd
nixpkgs-fmt
];
programs.direnv = {
enable = true;
};
}