add projects module
This commit is contained in:
parent
7434089a08
commit
80951705f1
4 changed files with 28 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
./javascript.nix
|
||||
./python.nix
|
||||
./rust.nix
|
||||
./projects
|
||||
];
|
||||
}
|
||||
|
|
17
modules/dev/projects/SakoEngine/default.nix
Normal file
17
modules/dev/projects/SakoEngine/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./SakoEngine
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue