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