made dev and gaming attributes consistent

This commit is contained in:
2026-07-07 17:25:24 +01:00
parent a67e855aca
commit b149325e23
2 changed files with 13 additions and 21 deletions

View File

@@ -1,22 +1,18 @@
{ {
self, self,
inputs, moduleWithSystem,
... ...
}: { }: {
flake.nixosModules.development = { flake.nixosModules.development = moduleWithSystem ({pkgs, ...}: let
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [ modules = with self.nixosModules; [
git git
nvim nvim
]; ];
in { in {
imports = modules; imports = modules;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
opencode opencode
devenv devenv
]; ];
}; });
} }

View File

@@ -1,17 +1,13 @@
{ {
self, self,
inputs, moduleWithSystem,
... ...
}: { }: {
flake.nixosModules.gaming = { flake.nixosModules.gaming = moduleWithSystem ({...}: let
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [ modules = with self.nixosModules; [
steam steam
]; ];
in { in {
imports = modules; imports = modules;
}; });
} }