Move Marauder dev configs into a separate module
This commit is contained in:
@@ -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
21
hosts/marauder/dev.nix
Normal 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user