add projects module

This commit is contained in:
Sakooooo 2023-07-09 15:19:20 +03:00
parent 7434089a08
commit 80951705f1
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 28 additions and 0 deletions

View file

@ -18,6 +18,8 @@
bspwm.enable = true;
browsers = {
qutebrowser.enable = true;
# for those quick thinsg where i dont know how to do it on qutebrowser
firefox.enable = true;
};
apps = {
keepassxc.enable = true;
@ -44,6 +46,9 @@
javascript.enable = true;
python.enable = true;
rust.enable = true;
projects = {
sakoEngine.enable = true;
};
};
shell = {
nix = {

View file

@ -5,5 +5,6 @@
./javascript.nix
./python.nix
./rust.nix
./projects
];
}

View file

@ -0,0 +1,17 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.dev.projects.sakoEngine;
in
{
options.modules.dev.projects.sakoEngine = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
SDL2
SDL2_image
];
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./SakoEngine
];
}