development and gaming attributes
This commit is contained in:
22
modules/attrs/development/default.nix
Normal file
22
modules/attrs/development/default.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.development = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
modules = with self.nixosModules; [
|
||||||
|
git
|
||||||
|
nvim
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
imports = modules;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
opencode
|
||||||
|
devenv
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
17
modules/attrs/gaming/default.nix
Normal file
17
modules/attrs/gaming/default.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.gaming = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
modules = with self.nixosModules; [
|
||||||
|
steam
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
imports = modules;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user