Feature: New Development Server Environment

This commit is contained in:
marthsincemelee
2023-10-13 22:45:57 +02:00
parent fa7587edf0
commit 7f601985bf
4 changed files with 59 additions and 3 deletions
+1
View File
@@ -4,5 +4,6 @@
./apps
./hyprland
./zsh
./dev_server
];
}
@@ -0,0 +1,20 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.dev_server;
in {
options.my.profiles.dev_server = with lib; {
enable = mkEnableOption "Development Server environment";
};
config = lib.mkIf cfg.enable {
programs.dev_server = {
enable = true;
nvidiaPatches = true;
xwayland.enable = true;
};
users.users.finn.packages = with pkgs; [
# Software
];
};
}
@@ -2,9 +2,6 @@
let
cfg = config.my.profiles.hyprland;
in {
options.my.profiles.hyprland = with lib; {
enable = mkEnableOption "hyprland env";
};