From d3f46bf7c570254feb9012d564792f79a0e66f2b Mon Sep 17 00:00:00 2001 From: Nettika Date: Mon, 23 Sep 2024 16:15:42 -0700 Subject: [PATCH] Move Marauder dev configs into a separate module --- hosts/marauder/default.nix | 18 +----------------- hosts/marauder/dev.nix | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 hosts/marauder/dev.nix diff --git a/hosts/marauder/default.nix b/hosts/marauder/default.nix index 347d566..63f1936 100755 --- a/hosts/marauder/default.nix +++ b/hosts/marauder/default.nix @@ -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" ]; diff --git a/hosts/marauder/dev.nix b/hosts/marauder/dev.nix new file mode 100644 index 0000000..7f62e94 --- /dev/null +++ b/hosts/marauder/dev.nix @@ -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; + }; +}